Liquizar / Docker_Beginner_Assignment

Explore Docker basics with guided exercises. From containerization to orchestration, master essential skills for efficient application deployment. Happy Dockerizing! 🐳✨

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker Beginner Assignments 🐳

Welcome to the Docker Beginner Assignments repository! This repository contains detailed solutions for various Docker assignments aimed at beginners. Each assignment focuses on different aspects of Docker usage, ranging from containerizing applications to orchestrating multi-container setups.

Docker

Assignments Overview πŸ“

Assignment 1: Containerize a Python Flask Application

  • Objective: Containerize a simple Python Flask application.
  • Steps:
    1. Create a Python Flask application.
    2. Write a Dockerfile.
    3. Create a requirements.txt file.
    4. Build the Docker image.
    5. Run the Docker container.
    6. Test the Flask application.

Assignment 2: Multiple Formats & Docker Swarm

  • Objective: Containerize and run the Webanalyze application in multiple formats.
  • Steps:
    1. Write a Dockerfile for Webanalyze.
    2. Run the Docker image.
    3. Capture container output/log into host filesystem.
    4. Run multiple instances for different websites using Docker Compose.
    5. Store application logs for multiple instances.
    6. Deploy in Docker Swarm stack.

Assignment 3: Development Environment with Docker

  • Objective: Create a Docker image for a development environment.
  • Steps:
    1. Create a Dockerfile for the development environment.
    2. Use the Docker image for development instead of local machine dependencies.

Assignment 4: Multi-Container Application with Docker Compose

  • Objective: Create a multi-container application using Docker Compose.
  • Steps:
    1. Define services, networks, and volumes in docker-compose.yml.
    2. Include different components (web server, database, caching layer) in separate containers.
    3. Configure intercommunication between containers and run the application.

Assignment 5: Containerized WordPress

  • Objective: Containerize WordPress CMS using Docker.
  • Steps:
    1. Use separate containers for WordPress application and database.
    2. Mount volumes for persistent storage of WordPress files and database data.
    3. Configure and run containers to host a functional WordPress site.

Usage Instructions πŸš€

For detailed instructions on each assignment, please refer to the respective assignment folder in this repository.

Contributing 🀝

If you have any improvements or additional assignments to suggest, feel free to open an issue or submit a pull request!

License πŸ“„

This repository is licensed under the MIT License.


Happy Dockerizing! 🐳✨

About

Explore Docker basics with guided exercises. From containerization to orchestration, master essential skills for efficient application deployment. Happy Dockerizing! 🐳✨


Languages

Language:TypeScript 93.0%Language:HTML 2.3%Language:JavaScript 2.1%Language:Dockerfile 1.1%Language:CSS 0.8%Language:Python 0.8%