mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-20 17:49:10 +00:00
Merge pull request #2312 from mbentley/fix-compose-docker
Fixed commands and resolv.conf in docker example
This commit is contained in:
commit
f1bd7c2e4d
@ -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
|
||||
|
@ -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:
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user