1
0
mirror of https://github.com/docker/docs.git synced 2026-11-05 00:14:17 +03:00
Files
docs/reference/index.md
Misty Stanley-Jones 1d0e3c1313 Update UCP CLI reference to match CLI
Fixes #3185

Signed-off-by: Misty Stanley-Jones <misty@docker.com>
2016-11-05 21:47:14 -07:00

2.0 KiB

UCP tool reference

Installs Docker Universal Control Plane.

Usage

$ docker run --rm -it \
    --name ucp \
    -v /var/run/docker.sock:/var/run/docker.sock \
    docker/ucp \
    command [arguments...]

Description

This image has commands to install and manage Docker Universal Control Plane (UCP) on a Docker Engine.

You can configure the commands using flags or environment variables. When using environment variables use the docker run -e VARIABLE_NAME syntax to pass the value from your shell, or docker run -e VARIABLE_NAME=value to specify the value explicitly on the command line.

The container running this image needs to be named 'ucp' and bind-mount the Docker daemon socket. Below you can find an example of how to run this image.

Additional help is available for each command with the '--help' flag.

commands

install            Install UCP on this engine
restart            Start or restart UCP components on this engine
stop               Stop UCP components running on this engine
upgrade            Upgrade the UCP components on this engine
images             Verify the UCP images on this engine
uninstall-cluster  Uninstall UCP from this swarm cluster
dump-certs         Dump out the public certs for this UCP controller
fingerprint        Dump out the TLS fingerprint for the UCP controller running on this engine
support            Generate a support dump for this engine
id                 Dump out the ID of the UCP components running on this engine
backup             Stream a tar file to stdout containing all UCP data volumes
restore            Restore a UCP cluster from a backup tar file.
regen-certs
help               Shows a list of commands or help for one command

Global options

--help, -h     show help
--version, -v  print the version