Difficulty: Beginner
Estimated Time: 5 minutes

Welcome to your first Docker coding Scenario!

Congrats! You've completed your first Docker scenario!

Docker Hello World

Step 1 of 2

Step 1 - Run Commands

Let's run some docker commands to get familiar with docker.

Task

First, lets pull an example docker image:

https://github.com/docker-library/hello-world

docker pull hello-world:latest

Let's take a look at our docker images:

docker images | grep --color -E '^|hello-world'

Next lets run that docker image:

docker run hello-world:latest

The docker ps command will let us see our container:

docker ps

Where is it? We should have a container. Well, the docker ps command defaults to showing just running containers. So we need the -a flag:

docker ps -a

That's it for the first step, next let's build a custom docker image and run it.