removed older notes about detach and service logs

Since these options have been around nearly a year, I removed some unneeded verbosity and consolidated the detach stuff.
This commit is contained in:
Bret Fisher
2018-04-18 15:34:04 -04:00
committed by GitHub
parent 2bea8ade63
commit f90a194b86

View File

@@ -20,23 +20,6 @@
---
class: extra-details
## `--detach` for service creation
(New in Docker Engine 17.05)
If you are running Docker 17.05 to 17.09, you will see the following message:
```
Since --detach=false was not specified, tasks will be created in the background.
In a future release, --detach=false will become the default.
```
You can ignore that for now; but we'll come back to it in just a few minutes!
---
## Checking service logs
(New in Docker Engine 17.05)
@@ -62,20 +45,6 @@ Note: by default, when a container is destroyed (e.g. when scaling down), its lo
class: extra-details
## Before Docker Engine 17.05
- Docker 1.13/17.03/17.04 have `docker service logs` as an experimental feature
<br/>(available only when enabling the experimental feature flag)
- We have to use `docker logs`, which only works on local containers
- We will have to connect to the node running our container
<br/>(unless it was scheduled locally, of course)
---
class: extra-details
## Looking up where our container is running
- The `docker service ps` command told us where our container was scheduled
@@ -141,15 +110,16 @@ class: extra-details
## Monitoring deployment progress with `--detach`
(New in Docker Engine 17.05)
(New in Docker Engine 17.10)
- The CLI can monitor commands that create/update/delete services
- The CLI monitors commands that create/update/delete services
- `--detach=false`
- In effect, `--detach=false` is the default
- synchronous operation
- the CLI will monitor and display the progress of our request
- it exits only when the operation is complete
- Ctrl-C to detach at anytime
- `--detach=true`