Docker restarts automatically when docker stop command is given

Docker is restarting automatically when the docker stop command is given. I would want the docker to stop when docker stop is issued and start only when docker start/restart is issued.

We have below parameter passed during docker run

–restart unless-stopped

Usually when this happens there is an independent service which automatically restarts or even recreates stopped or removed containers. In that case, you need to find that service.

I moved the topic out from the community category, since that is not for asking for help which could be at least partially the reason why you didn’t get any until now. Please, check the description of the categories before creating a new topic.