Enter Bash of your Docker docker exec -it docker_wordpress_1 bash Delete All Images & Containers #!/bin/bash # Delete all containers docker rm $(docker ps -a -q) # Delete all images docker rmi $(docker images -q)
Enter Bash of your Docker docker exec -it docker_wordpress_1 bash Delete All Images & Containers #!/bin/bash # Delete all containers docker rm $(docker ps -a -q) # Delete all images docker rmi $(docker images -q)