mirror of
https://github.com/docker/docs.git
synced 2026-11-06 12:54:24 +03:00
1.7 KiB
1.7 KiB
+++ title = "upgrade" description = "Upgrade Docker Universal Control Plane." keywords= ["docker, ucp, upgrade "] [menu.main] parent = "ucp_ref" identifier = "ucp_ref_upgrade" +++
docker/ucp upgrade
Upgrade the UCP components on this engine.
Usage
docker run --rm -it \
--name ucp \
-v /var/run/docker.sock:/var/run/docker.sock \
docker/ucp \
upgrade [command 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
--debug, -D Enable debug mode
--jsonlog Produce json formatted output for easier parsing
--interactive, -i Enable interactive mode. You will be prompted to enter all required information
--admin-username value Specify the UCP admin username [$UCP_ADMIN_USER]
--admin-password value Specify the UCP admin password [$UCP_ADMIN_PASSWORD]
--pull value Specify image pull behavior ('always', when 'missing', or 'never') (default: "missing")
--registry-username value Specify the username to pull required images with [$REGISTRY_USERNAME]
--registry-password value Specify the password to pull required images with [$REGISTRY_PASSWORD]
--id value The ID of the UCP instance to upgrade
--host-address value Override the previously configured host address with this IP or network interface [$UCP_HOST_ADDRESS]