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.

This tab will not be visible to users and provides only information to help authors when creating content.

Creating Katacoda Scenarios

Thanks for creating Katacoda scenarios. This tab is designed to help you as an author have quick access the information you need when creating scenarios.

Here are some useful links to get you started.

Running Katacoda Workshops

If you are planning to use Katacoda for workshops, please contact [email protected] to arrange capacity.

Debugging Scenarios

Below is the response from any background scripts run or files uploaded. This stream can aid debugging scenarios.

If you still need assistance, please contact [email protected]