Trying to figure out why containers keep being created in docker, that are blocking my image from being started. I can’t keep up with deleting them because more containers reappear constantly. Even using a script to kill them all; it takes forever and more containers just reappear. I searched everywhere for generating containers, automatically generating containers, etc… no luck.
How are you building and running your containers? What commands are you using? Using the --rm tag with the docker run command will automatically clear the generated containers when you stop a container, example;
Just uninstalled docker, reinstalled, changed the port and image name inside the package and now I no longer have the problem. Yeah they kept generating and eventually maxed out my CPU. All is well now. My use case is an app that sends a daily email from leankit.org “doing” lanes and a reminder of current priorities.