Journal: Software Development

Email: mail@appsoftware.com

Software development notes and articles

A journal for sharing all things software development related


Trouble Shooting

Thu, 04 Jul 2019 06:10 UTC

Error:

error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.39/containers/json

Linux containers

If running Linux containers, this may be the fix:

https://stackoverflow.com/questions/37527888/docker-commands-fails-in-windows

docker-machine env --shell=powershell | Invoke-Expression

Windows containers

If trying to run windows containers this may resolve the issue:

https://github.com/docker/for-win/issues/1825

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.

docker_windows_powershell_fix.PNG

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.