Since some time Docker got unstable. It makes Spring Boot @Testcontainers-enabed tests to not start (they simply hang on start). Also, if I go to Docker Desktop app and try to remove some unused image, it doesn't work (image can't be deleted but there are no visual errors presented on screen). In dockerd.log there are some errors which I believe might be related to the problem:
time="2024-05-31T08:21:36.930222125Z" level=error msg="Handler for GET /v1.45/services returned error: This node is not a swarm manager. Use \"docker swarm init\" or \"docker swarm join\" to connect this node to swarm and try again." spanID=be8285ebbeced2c9 traceID=2327a86621aae8aa9d547dcd8fc016a3
time="2024-05-31T08:21:36.930735708Z" level=error msg="Handler for GET /v1.45/services returned error: This node is not a swarm manager. Use \"docker swarm init\" or \"docker swarm join\" to connect this node to swarm and try again." spanID=ca951fbe350a914c traceID=c0150b52a6a6cc1655e80bd20f536fbd
This has non-deterministic nature. I don't know how to reproduce it. After starting Docker, everything works fine, but eventually I can't run my (@Testcontainers) integration tests anymore. I have to restart Docker Desktop, sometimes killing background process.
Description
Since some time Docker got unstable. It makes Spring Boot
@Testcontainers
-enabed tests to not start (they simply hang on start). Also, if I go to Docker Desktop app and try to remove some unused image, it doesn't work (image can't be deleted but there are no visual errors presented on screen). In dockerd.log there are some errors which I believe might be related to the problem:This might be also related to this (already closed) ticket: https://github.com/docker/for-mac/issues/6225
Reproduce
This has non-deterministic nature. I don't know how to reproduce it. After starting Docker, everything works fine, but eventually I can't run my (
@Testcontainers
) integration tests anymore. I have to restart Docker Desktop, sometimes killing background process.Expected behavior
No response
docker version
docker info
Diagnostics ID
B8654DEB-C3CB-46BC-91E4-9D8FDC4107AB/20240531085711
Additional Info
macOS Sonoma 14.5