From ff6d5b384a3bafdd82dd9b5389c1f9b161ac8763 Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Tue, 8 Aug 2017 11:19:43 +0100 Subject: [PATCH] test-containerd: Drop net:host and /dev mount net:host is the default and this test does not need the host /dev. Signed-off-by: Ian Campbell --- test/pkg/containerd/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/pkg/containerd/Dockerfile b/test/pkg/containerd/Dockerfile index 28c85b44e..402f82fd5 100644 --- a/test/pkg/containerd/Dockerfile +++ b/test/pkg/containerd/Dockerfile @@ -35,4 +35,4 @@ WORKDIR $GOPATH/src/github.com/containerd/containerd ADD run.sh ./run.sh ENTRYPOINT ["/bin/sh", "run.sh"] -LABEL org.mobyproject.config='{"net": "host", "capabilities": ["all"], "tmpfs": ["/tmp:exec"], "binds": ["/dev:/dev", "/var:/var", "/etc/resolv.conf:/etc/resolv.conf", "/usr/bin/runc:/usr/bin/runc", "/usr/bin/containerd:/usr/bin/containerd", "/usr/bin/containerd-shim:/usr/bin/containerd-shim"], "mounts": [{"type": "cgroup", "options": ["rw","nosuid","noexec","nodev","relatime"]}],}' +LABEL org.mobyproject.config='{"capabilities": ["all"], "tmpfs": ["/tmp:exec"], "binds": ["/var:/var", "/etc/resolv.conf:/etc/resolv.conf", "/usr/bin/runc:/usr/bin/runc", "/usr/bin/containerd:/usr/bin/containerd", "/usr/bin/containerd-shim:/usr/bin/containerd-shim"], "mounts": [{"type": "cgroup", "options": ["rw","nosuid","noexec","nodev","relatime"]}],}'