mirror of
https://github.com/docker/docs.git
synced 2026-03-27 14:28:47 +07:00
fix update docker command
If you supply the `--interactive` flag to `docker run` the prompt will never come back. That said, if somebody were to run this as a cron job, it would fail as the `ucp-phase2` container name will already exist.
This commit is contained in:
@@ -87,7 +87,6 @@ Replace `{{ page.ucp_version }}` with the version you are currently running.
|
||||
```bash
|
||||
$ docker container run \
|
||||
--rm \
|
||||
--interactive \
|
||||
--log-driver none \
|
||||
--name ucp \
|
||||
--volume /var/run/docker.sock:/var/run/docker.sock \
|
||||
@@ -108,7 +107,6 @@ $ docker container run \
|
||||
```bash
|
||||
$ docker container run \
|
||||
--rm \
|
||||
--interactive \
|
||||
--log-driver none \
|
||||
--security-opt label=disable \
|
||||
--name ucp \
|
||||
@@ -262,4 +260,4 @@ The following table describes the backup schema returned by the `GET` and `LIST`
|
||||
### Where to go next
|
||||
|
||||
- [Back up the Docker Trusted Registry](./back-up-dtr/)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user