-
Notifications
You must be signed in to change notification settings - Fork 181
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 container exits without error after 5 days despite restart=always #717
Comments
The issue could be that you are running the docker commands under a rootless docker context that you run from your own user. To fix this, Enable linger mode or configure sudo loginctl enable-linger $USER Just to be sure, edit
Reboot your machine for the new config to take effect. sudo reboot |
After running a Docker container with the restart=always policy, the container unexpectedly exits without any visible error messages after approximately 5 days of continuous operation. This behavior occurs consistently and is causing disruptions to the application's availability.
Command
docker run -d --name monstache --restart always -v $(pwd)/monstache:/monstache -p 8089:8080 -w /monstache rwynn/monstache:latest -f ./config.toml
The text was updated successfully, but these errors were encountered: