docker / for-win

Bug reports for Docker Desktop for Windows
https://www.docker.com/products/docker#/windows
1.85k stars 287 forks source link

Docker containers disappear after restart #13089

Open short-circuit opened 1 year ago

short-circuit commented 1 year ago

Actual behavior

On Restart, all docker containers are gone.

Expected behavior

On Restart, all docker containers should be still there and start automatically.

Information

This Problem started after I last updated Docker-desktop. It used to work as intended before. All docker-compose files have the restart: always or unless-stopped condition, so containers are forced by docker-compose to be restarted. Docker-desktop just plain removes the whole container and that is why it won't be restarted. The whole stack needs to be created from zero.

Steps to reproduce the behavior

  1. Create containers through docker-compose on WSL2
  2. Restart Windows/Docker engine
azumukupoe commented 1 year ago

same issue here

Information

fsoikin commented 1 year ago

Same for me

Information

maopequena commented 1 year ago

Just had the same issue.

Information

docker-robot[bot] commented 1 year ago

There hasn't been any activity on this issue for a long time. If the problem is still relevant, mark the issue as fresh with a /remove-lifecycle stale comment. If not, this issue will be closed in 30 days.

Prevent issues from auto-closing with a /lifecycle frozen comment.

/lifecycle stale