mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-19 09:16:29 +00:00
Merge pull request #186 from gesellix/fix-docker-build-cmd
Fix docker format build example
This commit is contained in:
commit
6ba3288963
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user