Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Exercise Overview

This tutorial will teach you how to develop and deploy applications using Docker. You'll build a Docker Quiz Challenge - an interactive web application that tests your Docker knowledge with randomly selected questions and tracks scores in a MongoDB database.

This project includes:

  • Frontend: Interactive quiz interface with 5 randomly selected Docker MCQ questions from a pool of 10
  • Backend: Node.js Express server handling quiz submissions and scoring
  • Database: MongoDB storing player scores and leaderboard
  • Admin UI: Mongo Express for viewing database records in real-time

Learning Objectives

By the end of this tutorial, you'll understand:

  • How to run containers with docker run
  • How to create custom Docker networks
  • How to link containers together
  • How to use Docker Compose to orchestrate multi-container applications

Repository Structure

Here is the structure of the repository you'll be working with:

├── app/
│   ├── server.js          # Node.js Express backend server
│   ├── package.json       # Node.js dependencies and scripts
│   ├── index.html         # Quiz application frontend
│   ├── questions.json     # Docker MCQ questions
│   └── images/            # Application assets
├─── README.md              # This tutorial file
├─── part1.md               # Part 1: Getting Started with Docker
├─── part2.md               # Part 2: Building a Custom Docker Image
├─── part3.md               # Part 3: Orchestrating with Docker Compose
└─── .gitignore             # Git ignore file

Follow the steps in part1.md, part2.md and part3.md. Complete the tasks and submit your work by pushing to your GitHub repository.

Docker extensions for VSCode

To enhance your Docker development experience, consider installing the following VSCode extensions.

alt text

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages