Skip to main content
This is a quick reminder to stay focused on the provided Docker labs and lesson content. It can be tempting to create your own local environment immediately, but we strongly recommend following the provided labs and lessons first. The lab exercises are designed to create a consistent, step-by-step learning path so you can learn efficiently and avoid unnecessary confusion caused by differing local setups.
A bearded man in a black T-shirt sits in a chair in a home office or studio. To his right is an infinity-shaped graphic containing icons of a film camera and a computer monitor, with a bookshelf and plant visible behind him.
By sticking to the lesson sequence you minimize distractions and interruptions and maintain a clear progression from start to finish. The course will provide instructions and resources for creating a local environment at the appropriate time — there is no need to rush that step.
Follow the labs in order. Building your own environment too early can lead to confusion when the standard lab setup is assumed.
If you run the docker images command in a lab environment, you might see output similar to the example below. This shows the repository, tag, image ID, creation time, and size — useful when verifying which images are available in the lab.
To run a container directly from an image, you can use a simple docker run command:
Note: Running docker run redis without additional flags starts the container in the foreground and attaches your terminal to it. In many lab scenarios you’ll instead want to:
  • Start in detached mode with -d
  • Map container ports to the host using -p
  • Set environment variables with -e
  • Give the container a name using --name
Here are common docker run options you will frequently use in labs: Follow the instructions in each lab carefully — they will specify the exact docker options required for that exercise. Thank you for choosing KodeKloud. We look forward to guiding you through the lessons and helping you build Docker skills step by step.

Watch Video