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

Container Fails to Restart on Crash #48

Open
GMATHUR90 opened this issue Jan 6, 2025 · 1 comment
Open

Container Fails to Restart on Crash #48

GMATHUR90 opened this issue Jan 6, 2025 · 1 comment

Comments

@GMATHUR90
Copy link
Owner

A container crashes but does not restart, even with RestartPolicy=always

@GMATHUR90
Copy link
Owner Author

Solution:

a. Verify the Restart option in the systemd service file or Podman configuration is set correctly:

Restart=always

b. Test the systemd service for errors:

systemctl status <service-name>
journalctl -xe

c. Check container logs for crash details:

podman logs <container-id>

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

No branches or pull requests

1 participant