When I try to use docker-machine env
as non-admin in Windows, I get:
$ docker-machine env dockerdev
Error checking TLS connection: Host is not running
(Same for a non-administrative command prompt.)
Running the shell/cmd as Administrator works, but I'm migrating from using the boot2docker CLI, and our scripts used to be able to run boot2docker shellinit
without requiring admin privileges.
I'm using Hyper-V, not VirtualBox.
Is this by design? Any way around it?
Never mind, I see that the Get-VM cmdlet requires admin privileges by default. However, I managed to add myself as a Hyper-V administrator by following this guide up until and including step 4:
http://itprocentral.com/how-to-delegate-access-in-hyper-v/
Then logging out and in again and all is fine!
Most helpful comment
Never mind, I see that the Get-VM cmdlet requires admin privileges by default. However, I managed to add myself as a Hyper-V administrator by following this guide up until and including step 4:
http://itprocentral.com/how-to-delegate-access-in-hyper-v/
Then logging out and in again and all is fine!