Docker Community Forums

Share and learn in the Docker community.

Docker-machine cant mkdir on vmware datastore


(Carlmanning) #1

Sending a docker-machine create command i get the error: Error creating machine: Unable to mkdir on datastore VMFS_DEV_001 due to Error: missing operand.

It looks like docker-machine is not sending (or i havn’t provided) one of the operand to govc but i have no idea and cant find anything in the docker-machine docs or in the govc documentation.
Here is a full command line output:

docker-machine -D create -d vmwarevsphere --vmwarevsphere-vcenter=“" --vmwarevsphere-username="” --vmwarevsphere-password=“" --vmwarevsphere-datacenter="” --vmwarevsphere-compute-ip="" --vmwarevsphere-datastore=“VMFS_DEV_001” --vmwarevsphere-disk-size=“20000” --vmwarevsphere-network=“VLAN710” test0109304shdsf
INFO[0000] Generating SSH Keypair…
INFO[0000] Uploading Boot2docker ISO …
DEBU[0000] govcOutErr executing: govc datastore.ls --u=
@@ --k=true --ds=VMFS_DEV_001 --dc=**** boot2docker-iso
INFO[0003] Creating directory boot2docker-iso on datastore VMFS_DEV_001 of vCenter
DEBU[0003] govcOutErr executing: govc datastore.mkdir --u=
@**** --k=true --ds=VMFS_DEV_001 --dc=**** boot2docker-iso
ERRO[0003] Error creating machine: Unable to mkdir on datastore VMFS_DEV_001 due to Error: missing operand

WARN[0003] You will want to check the provider to make sure the machine and associated resources were properly removed.
FATA[0003] Error creating machine