Difficulty: beginner
Estimated Time: 10 minutes

Docker training

Tutorial covering the basic commands, Dockerfile creation, container communication

You've completed basic docker training scenario!

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

Docker training

Step 1 of 4

Step 1 - Run Command

Lets get your hands dirty

docker run

To run a container we will use docker run command. docker run tries to find a local image to run, if the specified image doesn't exist docker will try to download it from https://hub.docker.com.

The docker run syntax is docker run [options] <image> [command]

We will run a ping command using a busybox image.

docker run busybox ping 127.0.0.1