remove more unneeded detach=false

This commit is contained in:
Bret Fisher
2018-04-25 16:26:28 -05:00
parent 3fe33e4e9e
commit e21fcbd1bd
2 changed files with 5 additions and 5 deletions

View File

@@ -141,7 +141,7 @@ It alters the code path for `docker run`, so it is allowed only under strict cir
- Update `webui` so that we can connect to it from outside:
```bash
docker service update webui --publish-add 8000:80 --detach=false
docker service update webui --publish-add 8000:80
```
]
@@ -197,7 +197,7 @@ It has been replaced by the new version, with port 80 accessible from outside.
- Bring up more workers:
```bash
docker service update worker --replicas 10 --detach=false
docker service update worker --replicas 10
```
- Check the result in the web UI
@@ -235,7 +235,7 @@ You should see the performance peaking at 10 hashes/s (like before).
- Re-create the `rng` service with *global scheduling*:
```bash
docker service create --name rng --network dockercoins --mode global \
--detach=false $REGISTRY/rng:$TAG
$REGISTRY/rng:$TAG
```
- Look at the result in the web UI

View File

@@ -146,7 +146,7 @@ First, let's make an "innocent" change and deploy it.
docker-compose -f dockercoins+healthcheck.yml build
docker-compose -f dockercoins+healthcheck.yml push
docker service update dockercoins_hasher \
--detach=false --image=127.0.0.1:5000/hasher:$TAG
--image=127.0.0.1:5000/hasher:$TAG
```
]
@@ -170,7 +170,7 @@ And now, a breaking change that will cause the health check to fail:
docker-compose -f dockercoins+healthcheck.yml build
docker-compose -f dockercoins+healthcheck.yml push
docker service update dockercoins_hasher \
--detach=false --image=127.0.0.1:5000/hasher:$TAG
--image=127.0.0.1:5000/hasher:$TAG
```
]