Hi im having issues using the docker-machine create function. Im trying to create a container t run on vmware vsphere 6 but i get an error of NoPermission even though i can.
docker-machine -D create -d vmwarevsphere --email@example.com --vmwarevsphere-password=passwordthatcontainspunctuation --vmwarevsphere-compute-ip=10.21.15.2 --vmwarevsphere-datastore=“VMFS_DEV_001” --vmwarevsphere-vcenter=10.21.15.100 --vmwarevsphere-network=VLAN710-Development --vmwarevsphere-datacenter=Development tdocker15
INFO Generating SSH Keypair…
INFO Uploading Boot2docker ISO …
DEBU govcOutErr executing: govc datastore.ls --firstname.lastname@example.org:email@example.com --k=true --ds=VMFS_DEV_001 --dc=Development boot2docker-iso
INFO Creating directory boot2docker-iso on datastore VMFS_DEV_001 of vCenter 10.21.15.100…
DEBU govcOutErr executing: govc datastore.mkdir --firstname.lastname@example.org:email@example.com --k=true --ds=VMFS_DEV_001 --dc=Development boot2docker-iso
ERRO Error creating machine: Unable to mkdir on datastore VMFS_DEV_001 due to Error: NoPermission
I have the permissions in the client of vsphere so its something to do with the way the govc is interrogating vmware.
I think it may be to do with the way the final url is being constructed in the govc command i came to this conclusion when i ran the govc command outside of docker-machine and i had a bash error because there was an ! in the password.
i have tried escaping everything but to no luck. i am returned NoPermmision from govc everytime.
I can change the password but it must have punctuation in, i cannot change the username which must be firstname.lastname@example.org.
This is how the url is constructed email@example.com:firstname.lastname@example.org
I may be barking up the wrong tree but hopefully someone can help me?