Docker Community Forums

Share and learn in the Docker community.

DTR install fails: Couldn't create volume

Hi,

I am trying to install DTR.
Everything goes fine until it tries to create volumes.

Here is the error I got in the installation output (in debug):

DEBU[0021] Launching docker/dtr:2.3.2 with args: [true] []
DEBU[0021] creating container dtr-port-test
DEBU[0023] waiting for container 109ea2aa7cbc25456c9a0f06de524129963432a794b011341bb8e311e707630d to exist after create
DEBU[0024] waiting for container 109ea2aa7cbc25456c9a0f06de524129963432a794b011341bb8e311e707630d to start
DEBU[0025] container wait
DEBU[0025] streaming output from container
DEBU[0025] about to iocopy the input
DEBU[0025] iocopied the input
INFO[0025] finished reading output
DEBU[0026] attempting to delete container 109ea2aa7cbc25456c9a0f06de524129963432a794b011341bb8e311e707630d
DEBU[0028] Creating volume 'docker-node3/dtr-ca-0aafd3041641’
FATA[0029] Failed to make sure volumes exist before running phase2: Couldn’t create volume ‘dtr-ca-0aafd3041641’: Error response from daemon: {“message”:“could not find any nodes on which a volume could be created”}

I can’t explain why it says “could not find any nodes on which a volume could be created” and I don’t know what I should do to go over this (except maybe creating the volume beforehand manually, but I would like to avoid)
Can you help me ?

Kr,
Vincent

Ok. I found the solution.
I had to check “Allow Administrators To Deploy Containers On UCP Managers Or Nodes Running DTR” option in container scheduling options UCP to make DTR installation work.

I think this should be documentated in DTR installation guide…

Kr,
Vincent

4 Likes

I’ll see if we can get a better error message. That’s definitely pretty cryptic and non-intuitive.