mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-05 11:49:34 +00:00
Shift to development track containerd
Move to the development track of `containerd` not the legacy 0.2 branch. The commands have changed a bit. This does increase the image size as we are bundling the Docker copy and our copy, and the new one is larger as it is growing features. Hopefully Docker will shrink eventually. Also we may replace `ctr` with a library. Fix #1029 Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
@@ -19,12 +19,9 @@ docker rm ${CONTAINER}
|
||||
|
||||
mkdir -p /var/log/nginx /var/cache/nginx
|
||||
|
||||
containerd-ctr containers start ${NAME} .
|
||||
containerd-ctr containers
|
||||
ctr run --bundle . ${NAME}
|
||||
ctr list
|
||||
```
|
||||
|
||||
For debugging it helps to run `containerd-ctr containers start --attach ${NAME} .` It may
|
||||
well turn out that you need to create directories that are empty volumes in docker.
|
||||
|
||||
For production, you will want to create the `config.json` offline and bundle it in with your
|
||||
intii script, but you can create the rootfs online.
|
||||
init script, but you can create the rootfs online.
|
||||
|
||||
Reference in New Issue
Block a user