bucrogers / Dockerfiles-for-windows

Dockerfiles for SQL Server, ASP.NET 4.6 / IIS App, Docker Swarm, PostgreSQL, Python REST service et al.
MIT License
137 stars 56 forks source link

cant start container who are offline #4

Open ToreBerntsen opened 8 years ago

ToreBerntsen commented 8 years ago

I run this command: docker start sql4
and get this error:

Error response from daemon: failed to create endpoint sql4 on network nat: HNS failed with error : Failed to create endpoint Error: failed to start containers: sql4

i can make new containers and start stop them, but cannot start containers i made before i restartet the server

heelp

StefanScherer commented 8 years ago

Could be related to https://github.com/docker/docker/issues/23086 with some left over port mappings. You can list the nat mappings with Get-NetNatStaticMapping in an admin powershell.