mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-19 17:26:28 +00:00
docker-for-mac: use runtime: mkdir
This replaces an alpine container which existed only to run the `mkdir`. Signed-off-by: David Scott <dave.scott@docker.com>
This commit is contained in:
parent
c29b433780
commit
af5761d6b5
@ -24,12 +24,6 @@ onboot:
|
||||
- name: mount
|
||||
image: linuxkit/mount:4fe245efb01384e42622c36302e13e386bbaeb08
|
||||
command: ["/usr/bin/mountie", "/var/lib"]
|
||||
# create docker dir on mounted drive if it doesn't exist
|
||||
- name: mkdir-docker
|
||||
image: alpine:3.6
|
||||
binds:
|
||||
- /var/lib:/host_var_lib
|
||||
command: ["sh", "-c", "mkdir -p /host_var_lib/docker"]
|
||||
# mount-vpnkit mounts the 9p share used by vpnkit to coordinate port forwarding
|
||||
- name: mount-vpnkit
|
||||
image: alpine:3.6
|
||||
|
@ -23,6 +23,8 @@ services:
|
||||
"--swarm-default-advertise-addr=eth0",
|
||||
"--userland-proxy-path", "/usr/bin/vpnkit-expose-port",
|
||||
"--storage-driver", "overlay2" ]
|
||||
runtime:
|
||||
mkdir: ["/var/lib/docker"]
|
||||
trust:
|
||||
org:
|
||||
- library
|
||||
|
Loading…
Reference in New Issue
Block a user