Docker Community Forums

Share and learn in the Docker community.

Start UCP server after installation

ucp

(Edubey) #1

Hi All,

I am new to Docker.
I installed UCP using this docs https://docs.docker.com/ucp/evaluation-install/
it worked fine.

After I restart the VM in which UCP was installed, do i need to reinstall UCP again ? If not
How can I start UCP server without installing it again

I have attached the result of docker ps on the node in which i installed UCP yesterday.

Thanks


(Vivek Saraswat) #2

Hi edubey,

After a VM restart you basically want to make sure that all of the ucp containers “ucp-something” are still running or have been restarted. From your docker ps It looks like your containers are all up and running.

Are you able to log into the web console for UCP after restarting the VM? If not, what errors do you get?


(Edubey) #3

Thanks vivek for reply,
Inorder to login I need to use the node Ip and port 443 …m I correct?If yes
I have attached the logs


(Gerdogdu) #4

Exactly the same situation. UCP no working after docker machine restart.


(Vivek Saraswat) #5

It looks like the problem is that when Docker Machine restarts a VirtualBox VM it changes the IP address, and UCP can no longer see the host. Reposting here in case the answer helps:

Looks like there is an open issue in Docker Machine to specify a static IP for VirtualBox driver: https://github.com/docker/machine/issues/1709

In the meantime, see if the workarounds either in the github issue above or this stackoverflow post can help: http://stackoverflow.com/questions/32639765/how-do-i-create-a-docker-machine-with-a-specific-url-using-docker-machine-and-vi/35367277