Can't seem to find where docker.sock
is on your Windows machine?
After trying many docker management GUIs, I finally settled on Portainer. It is very simple to use and the ability to manage more than one docker environment makes it perfect to run small scale testing.
Unfortunately on my Windows machine, I can only run docker using Docker Toolbox, which uses VirtualBox to create a virtual environment for Docker. So where can I bind to docker.sock
?
After days of unsuccessfully scouring the internet for a solution, I finally found it! Apparently all you need is to double backslash it.
So using the Portainer example from https://www.portainer.io/installation/
$ docker run -d -p 9000:9000 -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer
becomes
$ docker run -d -p 9000:9000 -v //var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer
Easy