Merge branch 'master' of github.com:jpetazzo/container.training

This commit is contained in:
Jérôme Petazzoni
2017-12-18 15:25:48 -06:00
2 changed files with 3 additions and 3 deletions

View File

@@ -100,7 +100,7 @@ class: extra-details
Let's start a Tomcat container:
```bash
$ docker run --name webapp -d -p 8080:8080 -v /usr/local/tomcat/logs
$ docker run --name webapp -d -p 8080:8080 -v /usr/local/tomcat/logs tomcat
```
Now, start an `alpine` container accessing the same volume:

View File

@@ -174,7 +174,7 @@ class: extra-details
- great in headless scripts (where nobody's watching anyway)
.warning[`--detach=false` does not complete *faster*. It just *doesn't wait* for completion.]
.warning[`--detach=true` does not complete *faster*. It just *doesn't wait* for completion.]
---
@@ -203,7 +203,7 @@ class: extra-details
- And then to 4 copies per node:
```bash
docker service update pingpong --replicas 15 --detach=true
docker service update pingpong --replicas 20 --detach=true
```
]