DEV Community

Will 保哥
Will 保哥

Posted on

How to use portainer in Windows 10 version 1809

image Photo by chuttersnap on Unsplash

To running a portainer container in Windows Container is pretty straight forward that using the following commands.

docker volume create portainer_data
docker run -d -p 9000:9000 --name portainer --restart always -v \\.\pipe\docker_engine:\\.\pipe\docker_engine -v portainer_data:C:\data portainer/portainer
Enter fullscreen mode Exit fullscreen mode

But the most undocumented notes are:

You must restart Docker service (com.docker.service) to make portainter works if you JUST installed Docker Desktop for Windows on Windows 10 version 1809!

Restart-Service com.docker.service
Enter fullscreen mode Exit fullscreen mode

Restart computer also do the trick.

After the restarts, portainer will works as expected.

Top comments (0)