how to remove all docker images ubuntu code example Example: delete container id docker rm $(docker ps -a -q)