mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-05 06:15:30 +00:00
Merge pull request #2235 from justincormack/use-library-docker
Use the upstream dind package to run docker
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user