Merge pull request #186 from gesellix/fix-docker-build-cmd

Fix docker format build example
This commit is contained in:
Justin Cormack 2017-11-19 10:11:16 +00:00 committed by GitHub
commit 6ba3288963
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,7 @@ then start the `onboot` and `service` containers. The example below shows how yo
can run `nginx` on either of these base configs.
```
moby build -format docker -o - docker.yml nginx.yml | docker build -t dockertest -
moby build -format docker -o - linuxkit.yml nginx.yml | docker build -t dockertest -
docker run -d -p 80:80 --privileged dockertest
moby build -format kernel+initrd linuxkit.yml nginx.yml