Merge pull request #2617 from deitch/fix-compose-example

Move mounted file from /var/html to /etc/html
This commit is contained in:
Justin Cormack 2017-10-18 13:16:29 +02:00 committed by GitHub
commit bf05569790
2 changed files with 12 additions and 12 deletions

View File

@ -36,19 +36,19 @@ services:
- /var/lib/docker:/var/lib/docker
- /lib/modules:/lib/modules
- /var/run:/var/run
- /var/html:/var/html
- /etc/html:/var/html
command: ["/usr/local/bin/docker-init", "/usr/local/bin/dockerd"]
- name: compose
image: linuxkitprojects/compose:0535e78608f57702745dfd56fbe78d28d237e469
binds:
- /var/run:/var/run
- /var/compose:/compose
- /etc/compose:/compose
files:
- path: var/html/a/index.html
- path: etc/html/a/index.html
source: html-a.html
- path: var/html/b/index.html
- path: etc/html/b/index.html
source: html-b.html
- path: var/compose/docker-compose.yml
- path: etc/compose/docker-compose.yml
source: docker-compose.yml
trust:
org:

View File

@ -36,23 +36,23 @@ services:
- /var/lib/docker:/var/lib/docker
- /lib/modules:/lib/modules
- /var/run:/var/run
- /var/html:/var/html
- /etc/html:/var/html
command: ["/usr/local/bin/docker-init", "/usr/local/bin/dockerd"]
- name: compose
image: linuxkitprojects/compose:0535e78608f57702745dfd56fbe78d28d237e469
binds:
- /var/run:/var/run
- /var/compose:/compose
- /etc/compose:/compose
files:
- path: var/html/a/index.html
- path: etc/html/a/index.html
source: html-a.html
- path: var/html/b/index.html
- path: etc/html/b/index.html
source: html-b.html
- path: var/compose/docker-compose.yml
- path: etc/compose/docker-compose.yml
source: docker-compose.yml
- path: var/compose/images/nginx:alpine.tar
- path: etc/compose/images/nginx:alpine.tar
source: image-cache/nginx:alpine.tar
- path: var/compose/images/traefik.tar
- path: etc/compose/images/traefik.tar
source: image-cache/traefik.tar
trust:
org: