Difficulty: Beginner
Estimated Time: 10 minutes

Docker Containers - Lesson-1

Docker Basics

This lesson will teach you how to pull and run a container in "single" command and it will be running in background.

Check if everything is working fine...

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

Docker Pull

This lesson will teach you how to pull and run a container in "single" command and it will be running in background.

docker run --name centos-linux -d centos /bin/sh -c "while true; do ping 8.8.8.8; done"

Run this below command to check if the container is running

docker ps

Run this below command to check which images the docker has pulled

docker images