Ah I know that feeling very well - particularly from utility containers that run a task and then finish, but the container hangs around!
I've got in the habit of using the --rm flag on docker run almost all the time so that the container is removed when stopped - I still need to prune occasionally, but not as often.
I'm in the same boat as well, it makes things so much easier when you clean up after you make the mess instead of waiting until things get really hairy.
This was just an older machine from back when I first discovered docker and obviously, didn't know or care how to clean up after myself!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Ah I know that feeling very well - particularly from utility containers that run a task and then finish, but the container hangs around!
I've got in the habit of using the
--rm
flag ondocker run
almost all the time so that the container is removed when stopped - I still need to prune occasionally, but not as often.Hi Andrew!
I'm in the same boat as well, it makes things so much easier when you clean up after you make the mess instead of waiting until things get really hairy.
This was just an older machine from back when I first discovered docker and obviously, didn't know or care how to clean up after myself!