mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-11-01 07:40:27 +00:00
Merge pull request #2235 from justincormack/use-library-docker
Use the upstream dind package to run docker
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