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

Containers do not restart on reboot #256

Closed
prasadtalasila opened this issue Nov 8, 2023 · 2 comments
Closed

Containers do not restart on reboot #256

prasadtalasila opened this issue Nov 8, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@prasadtalasila
Copy link
Contributor

prasadtalasila commented Nov 8, 2023

Traefik v2.10 does not restart on OS reboot. This needs to be checked again and if needed traefik version need to be downgraded.

@prasadtalasila prasadtalasila added the bug Something isn't working label Nov 8, 2023
@prasadtalasila prasadtalasila added this to the Release v0.4.0 milestone Nov 8, 2023
@prasadtalasila prasadtalasila changed the title Traefik v2.10 does not restart on reboot Containers do not restart on reboot Nov 25, 2023
@prasadtalasila
Copy link
Contributor Author

prasadtalasila commented Nov 25, 2023

The problem is not with Traefik v2.10; it is fine. The --restart always option should be given to all the containers. Only then will they restart. The traefik-gateway launch with restart:

docker run -d \
 --name "traefik-gateway" \
 --network=host -v "$PWD/traefik.yml:/etc/traefik/traefik.yml" \
 -v "$PWD/auth:/etc/traefik/auth" \
 -v "$PWD/dynamic:/etc/traefik/dynamic" \
 -v /var/run/docker.sock:/var/run/docker.sock \
 --restart always \
 traefik:v2.10

All the docker run commands must be checked for this problem.

@prasadtalasila
Copy link
Contributor Author

PR #304 fixes the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant