mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-20 17:49:10 +00:00
Fix docker format build example
Signed-off-by: Tobias Gesellchen <tobias@gesellix.de>
This commit is contained in:
parent
315e5f80e8
commit
5aebd207d0
@ -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.
|
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
|
docker run -d -p 80:80 --privileged dockertest
|
||||||
|
|
||||||
moby build -format kernel+initrd linuxkit.yml nginx.yml
|
moby build -format kernel+initrd linuxkit.yml nginx.yml
|
||||||
|
Loading…
Reference in New Issue
Block a user