Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Docker] dockerd sometimes fail to start inside the worker #131

Closed
Augustin-FL opened this issue Mar 2, 2023 · 0 comments · Fixed by #132
Closed

[Docker] dockerd sometimes fail to start inside the worker #131

Augustin-FL opened this issue Mar 2, 2023 · 0 comments · Fixed by #132

Comments

@Augustin-FL
Copy link
Collaborator

Description

When using docker, the worker sometimes does not run properly after several restarts, because dockerd fail to start properly.

The issue is random and only arise after multiple restart of the fame docker instances.

Steps to Reproduce

  • Execute docker-compose up --build, wait few minutes, then CTRL+C
  • Repeat the process multiple times. The error should happen after a while.

Expected behavior

dockerd should be able to always run correctly inside the worker container.

Debug

The root cause seems to be related to how docker stops the containers: When the worker is being shut down, dockerd sometimes doesn't have the time to stop properly inside the worker.
This causes leftover .sock & .pid files to remain on the worker's disk. dockerd will refuse to run on next restart because of these leftover files.

Augustin-FL added a commit to Augustin-FL/fame that referenced this issue Mar 2, 2023
@Augustin-FL Augustin-FL changed the title [Docker] docker sometimes fail to start inside the worker [Docker] dockerd sometimes fail to start inside the worker Mar 2, 2023
Augustin-FL added a commit to Augustin-FL/fame that referenced this issue Mar 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant