BeginnerLesson 2 of 26
Install and run your first container
Install Docker, then prove it works with hello-world.
Install Docker Desktop (Windows, macOS) or Docker Engine (Linux), then check the client and the daemon are both talking.
bash
docker --version
docker run hello-worlddocker run pulled the hello-world image from Docker Hub, created a container, ran it, and printed a message. Try something interactive:
bash
docker run -it --rm ubuntu:24.04 bash-it gives you a terminal, --rm deletes the container when you exit.