Is there any way to re-execute the entrypoint script when a docker container/service restarts after failure?
I am deploying using docker stack deploy -c docker-compose.yaml abcstack.
This compose file contains multiple services.
Is there any way to re-execute the entrypoint script when a docker container/service restarts after failure?
I am deploying using docker stack deploy -c docker-compose.yaml abcstack.
This compose file contains multiple services.
ENTRYPOINT and CMD, when added to the dockerfile, are always executed when a container is starting.