Docker For Pentesting

We can use Docker for Pentesting, We can Launch our own Docker container and test for a specific Vulnerabiliy.

Docker Commands

List Docker Images

docker images

Remove Docker Images

For Removing Docker Images, we first Need to see that if there are some containers which are using that image, IF YES, then we need to remove those containers first

docker ps -a # This list all containers

now i will remove these containers then you can remove the Image of MCP File System

docker rm <container ID>

now we can remove the image completly.

docker rmi <Repository>

and now the complete Image is Deleted

Last updated