Build a Containerized App with Docker
In this lab, you’ll practice creating, deploying, and managing Docker images. When you’re finished, you’ll have the skills necessary to support software engineers in Docker-based application development projects.
Terms and conditions apply.
Lab info
Lab author
Challenge
Getting Started in the Lab Environment
Here are the initial instructions and explanation of the lab environment. Read this while your environment is busy creating itself from nothing. Yes, this violates physics; we know. How fun!
Challenge
Setting up the Development Environment
To start with, you'll configure Docker and Visual Studio Code on the lab machine, and will access the lab files.
Challenge
Building and Dockerizing a Flask App
You'll write a simple Flask web application, create a Dockerfile for the Flask app, and build a Docker image from the Dockerfile.
Challenge
Running and Managing Docker Containers
You'll start the Docker container running the Flask app, and will practice using common Docker container management commands.
Challenge
Working with Docker Bind Mounts and Live Refresh
To finish up this lab, you will restart the Flask app using a Docker volume, and then Make changes to the Flask app source code, refreshing the browser to see the updated site-content live.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.
Recommended prerequisites
- Ubuntu Desktop
- Docker
- Visual Studio Code
- Linux CLI (Command Line Interface)