Docker Community Forums

Share and learn in the Docker community.

Could not run portainer on windows containers


(Vineethcvijayan) #1

I am trying to run portainer on Windows containers.( Using Docker for Windows Win 10). These are the commands i have used so far,

a) docker swarm init --advertise-addr <ip address>

b) docker volume create portainer_data

c) docker run -d -p 9000:9000 --name portainer --restart always -v \\.\pipe\docker_engine:\\.\pipe\docker_engine -v C:\ProgramData\Portainer:C:\data port ainer/portainer

Hitting error at the third command saying could not attach to network

C:\Program Files\Docker\Docker\Resources\bin\docker.exe: Error response from daemon: Could not attach to network nat: rpc error: code = NotFound desc = network nat not found.

Could anyone please help