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:
Logan Kimmel
2020-02-26 19:48:38 -07:00
committed by GitHub
parent adc18eed2f
commit 58aa5fb648

View File

@@ -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/)