Skip to content

WithReuse(true) + Docker 4.42.1 causes StartAsync() to hang when container is already running #1472

Discussion options

You must be logged in to vote

This is probably related to the following PR (#1465) and appears to be a bug/regression in Docker Desktop. The PR includes an explanation.

There are quite a few issues with Docker Desktop version 4.42.0 and later. I've forwarded the details to the Docker team. They are aware of the issues, and I hope they will address them soon.

BTW the issue also occurs when using the CLI:

docker run -d -p 80 httpd
docker ps
docker start <container_id>
docker ps

☝️ starting it twice breaks the port bindings/mappings.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@tklevgyldendal
Comment options

Answer selected by tklevgyldendal
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants