From 58aa5fb648d1998f4eff570f6bc04324a8513533 Mon Sep 17 00:00:00 2001 From: Logan Kimmel Date: Wed, 26 Feb 2020 19:48:38 -0700 Subject: [PATCH] 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. --- ee/admin/backup/back-up-ucp.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ee/admin/backup/back-up-ucp.md b/ee/admin/backup/back-up-ucp.md index fbaac6e5f6..6e35668f4c 100644 --- a/ee/admin/backup/back-up-ucp.md +++ b/ee/admin/backup/back-up-ucp.md @@ -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/) - \ No newline at end of file +