DEV Community

Will 保哥
Will 保哥

Posted on

11 7

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.

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay