Merge pull request #2235 from justincormack/use-library-docker

Use the upstream dind package to run docker
This commit is contained in:
Justin Cormack
2017-07-18 17:27:45 +01:00
committed by GitHub
10 changed files with 20 additions and 66 deletions

View File

@@ -24,10 +24,9 @@ services:
- name: dhcpcd
image: linuxkit/dhcpcd:4b7b8bb024cebb1bbb9c8026d44d7cbc8e202c41
- name: docker
image: linuxkit/docker-ce:9b937df179bdbebbc70243779978057df0b54190
image: docker:17.06.0-ce-dind
capabilities:
- all
net: host
mounts:
- type: cgroup
options: ["rw","nosuid","noexec","nodev","relatime"]
@@ -35,6 +34,7 @@ services:
- /var/lib/docker:/var/lib/docker
- /lib/modules:/lib/modules
- /run:/var/run
command: ["/usr/local/bin/docker-init", "/usr/local/bin/dockerd"]
- name: test-docker-bench
image: linuxkit/test-docker-bench:4999d3484771e8466580c0dc2e479595e49faa85
ipc: host