Difficulty: Beginner
Estimated Time: 10 minutes

Learning Docker

This is a good primer on how to create a docker image and test its performance

Docker Image Creation and Performance Comparison

Step 1 of 8

Clean up images Pre-Loaded in Katacoda

List all containers that are running (only IDs)

docker ps -aq

Stop all running containers (if any are running)

docker stop $(docker ps -aq)

Remove all containers (if any are hanging)

docker rm $(docker ps -aq)

Remove all images (if any)

docker rmi $(docker images -q)

Check all images

docker image ls