Docker Community Forums

Share and learn in the Docker community.

DockerEE shutdown


#1

I would like to shut down my proof concept cluster (1UCP + 1DTR + 3 Workers) every night to avoid paying for unused Azure computing. (I do not have many deployments on it)

Would it be ok just to do a Docker UCP Stop before deallocating the VMs on Azure?

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

(Stefantrimborn) #2

Hi William,

yes that would do for UCP, but you would still have the DTR container and the Docker engines running. Sadly there is no stop for dtr An easy way would be in your scenario to simple stop the docker engine by systemctl stop docker. If I do maintenance on my systems I do the same.

Hope that helps.


#3

Thank you Stefan, I will do that!