Journal: Software Development
A journal for sharing all things software development related
Thu, 04 Jul 2019 06:10 UTC
error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.39/containers/json
If running Linux containers, this may be the fix:
docker-machine env --shell=powershell | Invoke-Expression
If trying to run windows containers this may resolve the issue:
Note that the SwitchDaemon argument causes Docker for Windows to switch between Windows and Linux containers.
Run Powershell as admin
cd "C:\Program Files\Docker\Docker" ./DockerCli.exe -SwitchDaemon
In Powershell elevated access solved my issue.
The information on this site is provided “AS IS” and without warranties of any kind either express or implied. To the fullest extent permissible pursuant to applicable laws, the author disclaims all warranties, express or implied, including, but not limited to, implied warranties of merchantability, non-infringement and suitability for a particular purpose.