1
0
mirror of https://github.com/docker/docs.git synced 2026-11-05 00:14:17 +03:00
Files
docs/reference/upgrade.md
Joao Fernandes 0ece4fc435 Removes --image-version flag from docs
The --image-version flag is for internal use only.
The `ucp help` command doesn't output that flag anymore, so
I'm removing it from the docs also.

Fixes #795

Signed-off-by: Joao Fernandes <joao.fernandes@docker.com>
2016-11-01 17:18:27 -07:00

1.5 KiB

+++ title = "upgrade" description = "Upgrade UCP controller" keywords= ["upgrade, ucp"] [menu.main] identifier = "ucp_upgrade" parent = "ucp_ref" +++

upgrade

Upgrade the UCP components on this Docker Engine.

docker run --rm -it \
      --name ucp \
      -v /var/run/docker.sock:/var/run/docker.sock \
      docker/ucp \
      upgrade [OPTIONS]

Description

When upgrading UCP, you must run the upgrade command against every Engine in your cluster. You should upgrade your controller and replica nodes first, followed by your compute nodes. If you plan to upgrade your Engine as well, upgrade the Engine first, before upgrading UCP on the node.

After upgrading each node, confirm the node is present in the UCP console before proceeding to the next node.

Options

Option Description
--debug, -D Enable debug.
--jsonlog Produce json formatted output for easier parsing.
--interactive, -i Enable interactive mode.,You will be prompted to enter all required information.
--id The ID of the UCP instance to upgrade.
--pull "always" Specify image pull behavior (always, when missing, or never).