TERMINAL LAB
Follow the lessons by typing commands into the browser terminal. Open the hint if you get stuck.
9 lessons, in order. Each one runs in the browser terminal above; for the concepts behind them, read the Docker guide.
docker run hello-world. If the image is missing, it is downloaded (pulled) from Docker Hub automatically.docker pull, list them with docker images, and delete them with docker rmi. When no tag is given, latest is used.-d background, -p host:container port mapping, --name to name it, -e environment variables, and --rm to remove on exit.docker stop/start/restart and delete with docker rm. Check the output with docker logs and get inside with docker exec.docker build. View the contents with cat Dockerfile and build with docker build -t name:tag ..docker volume create and mount it into a container with -v volume:path. The data is kept even when the container is deleted.docker network create and containers can reach each other using container names as hostnames.docker compose up -d. Manage them with docker compose ps, logs, and down.