I'm newbie in docker. I use below command to run the certbot image twice:
docker run --rm certbot/certbot
I'd like to stop it but I can't. This command has started to produce many containers and these containers are automatically closed and produced again.
I have done the following:
1.Remove and kill containers
docker rm -f $(docker ps -a -q)
docker kill $(docker ps -q)
2.Through the following command, I tried to get the ID process and kill it:
ps aux | grep <containerId> | awk '{print $1 $2}'
then
kill -9 <processId>
But the ID process keeps changing.
3.I restarted Docker, even rebooted the whole server but still the problem persists.
I posted a screen record gif that shows that containers are constantly generated with different IDs and are automatically deleted.
How to resolve this problem?
Docker version 24.0.2, build cb74dfc
CentOS Linux release 7.9.2009 (Core)
