Merge pull request #2312 from mbentley/fix-compose-docker

Fixed commands and resolv.conf in docker example
This commit is contained in:
Justin Cormack 2017-07-28 09:51:17 +01:00 committed by GitHub
commit f1bd7c2e4d
3 changed files with 5 additions and 2 deletions

View File

@ -38,6 +38,7 @@ services:
- type: cgroup
options: ["rw","nosuid","noexec","nodev","relatime"]
binds:
- /etc/resolv.conf:/etc/resolv.conf
- /var/lib/docker:/var/lib/docker
- /lib/modules:/lib/modules
- /etc/docker/daemon.json:/etc/docker/daemon.json

View File

@ -34,11 +34,12 @@ services:
- type: cgroup
options: ["rw","nosuid","noexec","nodev","relatime"]
binds:
- /etc/resolv.conf:/etc/resolv.conf
- /var/lib/docker:/var/lib/docker
- /lib/modules:/lib/modules
- /var/run:/var/run
- /var/html:/var/html
command: ["/usr/bin/docker-init", "/usr/bin/dockerd"]
command: ["/usr/local/bin/docker-init", "/usr/local/bin/dockerd"]
- name: compose
image: linuxkitprojects/compose:0535e78608f57702745dfd56fbe78d28d237e469
binds:

View File

@ -34,11 +34,12 @@ services:
- type: cgroup
options: ["rw","nosuid","noexec","nodev","relatime"]
binds:
- /etc/resolv.conf:/etc/resolv.conf
- /var/lib/docker:/var/lib/docker
- /lib/modules:/lib/modules
- /var/run:/var/run
- /var/html:/var/html
command: ["/usr/bin/docker-init", "/usr/bin/dockerd"]
command: ["/usr/local/bin/docker-init", "/usr/local/bin/dockerd"]
- name: compose
image: linuxkitprojects/compose:0535e78608f57702745dfd56fbe78d28d237e469
binds: