docker/ucp uninstall-ucp

Estimated reading time: 1 minute

This topic applies to Docker Enterprise.

The Docker Enterprise platform business, including products, customers, and employees, has been acquired by Mirantis, inc., effective 13-November-2019. For more information on the acquisition and how it may affect you and your business, refer to the Docker Enterprise Customer FAQ.

Uninstall UCP from this swarm.


 docker container run --rm -it \
        --name ucp \
        -v /var/run/docker.sock:/var/run/docker.sock \
        docker/ucp \
        uninstall-ucp [command options]


This command uninstalls UCP from the swarm, but preserves the swarm so that your applications can continue running.

After UCP is uninstalled you can use the docker swarm leave and docker node rm commands to remove nodes from the swarm.

Once UCP is uninstalled, you won’t be able to join nodes to the swarm unless UCP is installed again.


Option Description
--debug, D Enable debug mode
--jsonlog Produce json formatted output for easier parsing
--interactive, i Run in interactive mode and prompt for configuration values
--id value The ID of the UCP instance to uninstall
--pull value Pull UCP images: always, when missing, or never
--purge-config Remove UCP configs during uninstallation
--registry-password value Password to use when pulling images
--registry-username value Username to use when pulling images
ucp, cli, uninstall-ucp