Hot answers tagged

1

Docker won't recreate the container itself without something like swarm mode enabled. Since you aren't doing this, an external tool is recreating the container through the docker API. This may be something like a docker-compose command, someone running a docker command directly or via a script, or some other orchestration tool. You can check docker events to ...


1

First, see Docker daemon’s log. Refer docker docs If some request or command executed to the Wordpress container, it might had restarted through docker daemon.


1

You need to add a restart policy to your container. example: docker run -dit --restart=always hello-world In this example, I am telling docker to always restart the hello-world container no matter what happens (and also run it in the background interactively). If you do a docker ps, you will see it keeps restarting. To revert this, you need to update the ...


Only top voted, non community-wiki answers of a minimum length are eligible