Docker Community Forums

Share and learn in the Docker community.

DTR INSTALL ERROR :docker/dtr:2.0.2': Error response from daemon: Unable to find a node that satisfies the following conditions [available container slots]


(Ralph Kincade) #1

I am attempting to install a DTR on an existing UBUNTU 14:04 instance

this is a NODE of a UCP cluster and shows up in the GUI like it should

this command is used right from the instructions

“docker run -it --rm docker/dtr install --ucp-url 192.168.50.51 --ucp-node 192.168.50.54 --dtr-external-url 192.168.50.54 --dtr-external-url 192.168.50.54 --ucp-username admin --ucp-password xxxxxxxxxx --ucp-ca “$(cat ucp-ca.pem)””

this seem to run ok until it gets to the 4th line

INFO[0000] Beginning Docker Trusted Registry installation
INFO[0000] Validating UCP cert
INFO[0000] UCP cert validation successful
ERRO[0001] Make sure that there is a node in your UCP cluster where port 80 and port 443 are open. Also confirm that all UCP node have the DTR images or can obtain them from Docker Hub.
FATA[0001] Problem running container ‘dtr-phase2’ from image ‘docker/dtr:2.0.2’: Couldn’t create container ‘dtr-phase2’ from image ‘docker/dtr:2.0.2’: Error response from daemon: Unable to find a node that satisfies the following conditions
[available container slots]

thanks !


(5003152) #2

you need to add at least 1 engine to the UCP before adding the DTR.
go to your UCP site -> nodes -> join
copy the command to the Engine, after its add try again.

and you have an error i think in the command :

–ucp-url should be https://UCPIP
–ucp-node only node name like i ucp
–dtr-external-url dtr IP address

you wrote --dtr-external-url --ucp-url the same IP