Docker Image for running govc and govmomi (vSphere SDK for Go)
- https://github.com/vmware/govmomi
- https://github.com/vmware/govmomi/tree/master/govc
docker build -t govc .
docker run --rm -it govc
Set GOVC_URL to credentials of an ESXi/vCenter Server and run simple "ls" command to list vSphere root inventory.
export GOVC_URL='https://[email protected]:[email protected]/sdk'
govc ls -k=true