Get startedGet started for free

Building and running a Docker container

This final exercise highlights the difference between a Docker image and a Docker container, and shows the use of both Docker components in action. The exercise will help you familiarize yourself with key Docker commands to build and run containerized applications consistently across different environments.

Using a simple Dockerfile, you will now create a Docker image and run a container based on that image.

This exercise is part of the course

Containerization and Virtualization Concepts

View Course

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise