Cook
Remove all containers built from Image 7401323eb08e
docker ps -a | awk '{ print $1,$2 }' | grep 7401323eb08e | awk '{print $1 }' | xargs -I {} docker rm {}
docker logs <container name>
- see what happened during container initializationdocker inspect <container-name>
- get low-level info about a container, such as its IP, port mappings,- remove all containers based on one image (ex. monica) -
docker ps -a | awk '{ print $1,$2 }' | grep monica | awk '{print $1 }' | xargs -I {} docker rm {}