Difficulty: Beginner
Estimated Time: 10 minutes

Tutorial covering the basic commands, Dockerfile creation, container communication

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