Let's Explore Docker!

It's like magic boxes for computer programs!

$ docker run happy-app
🐳 Hello from inside the container!
Let's Learn!

What is Docker?

Docker is like having special containers for computer programs!

Magic Boxes

Docker uses "containers" like special boxes that hold everything a program needs to run, just like a lunchbox holds your food!

Works Everywhere

A Docker container works the same way on any computer, like your favorite toy works at home or at a friend's house!

Easy to Share

You can easily share Docker containers with friends, just like passing a ball - no mess, no problems!

Containers Are Like...

Let's use things you know to understand Docker containers!

Lunch Boxes!

Think of a Docker container like your lunch box. It holds everything you need for lunch - your sandwich, fruit, and drink.

In the same way, a Docker container holds everything a computer program needs - code, tools, and settings - all in one neat package!

Colorful lunch box with food

Toy Boxes!

Imagine a toy box that keeps all the pieces of your favorite game together. You can take it anywhere and play with everything you need.

Docker containers keep all the pieces of a computer program together, so it can work perfectly no matter where you take it!

Toy box with colorful toys

See Docker in Action!

Let's play with some simple Docker commands and see what happens!

Docker Terminal
kid@computer:~$ docker --version
Docker version 24.0.5, build ced0996
kid@computer:~$ docker run hello-world
Hello from Docker!
This message shows that your installation appears to be working correctly.
kid@computer:~$ docker run -it busybox
/ # _

Docker Container Animation

Your Computer

Friend's Computer

Drag the Docker container from your computer to your friend's computer!

Docker Fun Quiz!

Test what you've learned about Docker. Choose the best answer!

1. What do we call Docker's special packages?

2. What can you do with Docker containers?

3. What's a good analogy for Docker containers?

Learn More About Docker

Want to become a Docker expert? Check out these cool resources!