Docker remove containers

So you want to remove containers. The tutorials use the command:

This doesn’t work if your user is not part of the ‘docker’ group. You will get a nasty Permission Denied message. So hey, let’s sudo.

ouch! this doesn’t work either. Same message. What is happening? The line contains two commands:


So let’s try this:

That works.

Leave a Reply

Your email address will not be published. Required fields are marked *