getty&ssh: bind /var/lib/containerd

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>
This commit is contained in:
Ian Campbell
2018-10-29 17:42:45 +00:00
parent e78b25062c
commit a4ca9fa674
35 changed files with 40 additions and 38 deletions

View File

@@ -19,7 +19,7 @@ services:
- name: rngd
image: linuxkit/rngd:v0.6
- name: sshd
image: linuxkit/sshd:v0.6
image: linuxkit/sshd:c4bc89cf0d66733c923ab9cb46198b599eb99320
binds:
- /run/config/ssh/authorized_keys:/root/.ssh/authorized_keys
- name: nginx