• 8 hours
  • Medium

Free online content available in this course.

course.header.alt.is_certifying

Got it!

Last updated on 8/28/24

Practice Orchestrating Your Docker Images With Docker Compose

Over to You!

Your friend John is a developer at an IT school. He’s just finished his first Python project: an API for registering students in a Redis database.

Before going any further with his code, he asks you whether it’s possible to use Docker to show his application to his colleagues from any computer, as his colleagues don’t all work with the same operating system.

John has shared his project folder with you, which contains all of his code. 

He recommends you read the README file first to understand the prerequisites for his code to work correctly:

  • Python 3.8 or later

  • A Redis database

You divide your work into two parts:

  1. Creating an image of the code with a Dockerfile

  2. Running the code using a Redis database with a docker-compose file

You’ll deliver a Dockerfile and a docker-compose to John so that he can present the API to his colleagues.

Once John’s project is up and running, you can visit the API by typing  localhost:5000  into your browser.

Example of certificate of achievement
Example of certificate of achievement