mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-12-25 06:02:44 +00:00
Needed for containerd v1.2.0 otherwise:
$ ctr run -t docker.io/library/hello-world@sha256:f3b3b28a45160805bb16542c9531888519430e9e6d6ffc09d72261b0d26ff74f test
[ 1311.667587] overlayfs: failed to resolve '/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/5/fs': -2
ctr: failed to mount /tmp/containerd-mount111658703: no such file or directory
Signed-off-by: Ian Campbell <ijc@docker.com>
19 lines
375 B
YAML
19 lines
375 B
YAML
image: getty
|
|
config:
|
|
pid: host
|
|
net: host
|
|
binds:
|
|
- /etc/resolv.conf:/etc/resolv.conf
|
|
- /run:/run
|
|
- /tmp:/tmp
|
|
- /etc:/hostroot/etc
|
|
- /usr/bin/ctr:/usr/bin/ctr
|
|
- /usr/bin/runc:/usr/bin/runc
|
|
- /containers:/containers
|
|
- /var/log:/var/log
|
|
- /var/lib/containerd:/var/lib/containerd
|
|
- /dev:/dev
|
|
- /sys:/sys
|
|
capabilities:
|
|
- all
|