At this point, you should know how to:

Just like we can use *docker rm* to delete containers we don’t want anymore, we can use *docker image rm* to delete an image from disk.

docker images
docker image rm <image_name>
#This will delete an image from disk

In the last two labs, we downloaded an Apache2 Docker image running a web server. This web server is in the default configuration, so it listens on port 80. Let’s spin it up and test whether we can reach the default webpage.

docker run -d --name temp_container ubuntu/apache2

Untitled

Now, from your host machine (Windows), we’ll connect to the IP address of the VM where the Docker image is running. First, identify the IP Address of the Kali machine running our docker containers.

ip addr

Untitled

Understanding the difference between a VM’s public IP address (accessible to anyone on the network) and private addresses (accessible only on the host itself in this case) is a key focus of the entire Network+ class.

For now, we just need to make sure we identify the IP Address that is accessible on the iCSI network. Try this command: