Reputation: 502
I am running Docker-Dektop Version 2.1.0.0 (36874) on a Windows 10 environment. I am using two separate container compositions, one of these binding to port 8081 on my machine, and the other binding to 9990 and 8787.
After a system restart, I am unable to start these container compositions again, because the ports are already bound.
So far, I have tried multiple approaches to solve this:
I did fiddle around with the compose files and the configuration, but taht would be too much detail to go into right now; all of these did not help.
What I recently found was, directly after a system startup and prior to starting any container, that the process com.docker.backend
was already listening to the bound ports. This is confusing as the containers were shut down prior to system shutdown and are not run with a restart-command.
So I explicitly quit the docker desktop app, and the process still remaind, and it still bound the ports.
After manually killing the process as administrator from the power shell, and restarting the docker desktop application, my containers were able to start again.
Has anyone else had this problem? Does anyone know a "fix" for this at all?
And, of course, is this even the right page to ask? As this is not strictly programming, I am unsure.
Upvotes: 1
Views: 4956
Reputation: 2015
Docker setup gets screwed up sometimes, so try deleting %appdata%\Docker
.
Upvotes: 1
Reputation: 502
The problem went away after the update to version 2.1.0.1 (37199)
Upvotes: 0