mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-11-02 16:07:13 +00:00
Use the upstream dind package to run docker
It is pretty close to our docker package, if we adjust the command that is run to avoid the actual dind startup script. We can't use the normal docker image as it does not have mkfs and so on. Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
@@ -3,7 +3,7 @@ services:
|
||||
# Bind mounts /var/run to allow vsudd to connect to docker.sock, /var/vpnkit
|
||||
# for vpnkit coordination and /var/config/docker for the configuration file.
|
||||
- name: docker-dfm
|
||||
image: linuxkit/docker-ce:9b937df179bdbebbc70243779978057df0b54190
|
||||
image: docker:17.06.0-ce-dind
|
||||
capabilities:
|
||||
- all
|
||||
net: host
|
||||
@@ -18,7 +18,7 @@ services:
|
||||
- /var/config/docker:/var/config/docker
|
||||
- /usr/bin/vpnkit-expose-port:/usr/bin/vpnkit-expose-port # userland proxy
|
||||
- /usr/bin/vpnkit-iptables-wrapper:/usr/bin/iptables # iptables wrapper
|
||||
command: [ "/usr/bin/docker-init", "/usr/bin/dockerd", "--",
|
||||
command: [ "/usr/local/bin/docker-init", "/usr/local/bin/dockerd", "--",
|
||||
"--config-file", "/var/config/docker/daemon.json",
|
||||
"--swarm-default-advertise-addr=eth0",
|
||||
"--userland-proxy-path", "/usr/bin/vpnkit-expose-port",
|
||||
@@ -27,3 +27,7 @@ services:
|
||||
files:
|
||||
- path: /var/config/docker/daemon.json
|
||||
contents: '{ "debug": true }'
|
||||
|
||||
trust:
|
||||
org:
|
||||
- library
|
||||
|
||||
Reference in New Issue
Block a user