Difficulty: Beginner
Estimated Time: 10 minutes

For who?

This course is intended for entry level users of Docker. It covers basic concepts.

What you will learn

You'll learn about the basics of Docker, which include:

  • Run an image.
  • Build and image.
  • Run your own image.
  • Run your own image with a different command.
  • Enter a container.

You've done it! Here is what you've learned:

  • Run an image.
  • Build and image.
  • Run your own image.
  • Run your own image with a different command.
  • Enter a command.

Well done!

You can start a follow up course Sweat & tears with Docker.

Don’t stop now! The next scenario will only take about 10 minutes to complete.

Fun with Docker

Step 1 of 10

Running the hello-world container

There are a few commands, give them a try.

docker ps This shows you running containers. There will be none to begin with.

docker ps -a This shows you -all- containers, also the stopped once.

docker images This shows you the images available to run.

docker run --help Anywhere during the course you can type in docker [command] --help.

Task

Run an image called "hello-world"

Hint

docker run --help