Derry Spann | {hostname}

Docker container access command

Access shell of container

docker exec -it <mycontainer> bash

Remove All images

docker rmi $(docker images -a -q)

Remove All containers

docker rm $(docker ps -a -f status=exited -f status=created -q)