Skip to content

codebase-ext/docker-workshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

## οΏ½ Quick Navigation

πŸ“š Workshop Files:

οΏ½ Quick Navigation

πŸ“š Workshop Files:


οΏ½πŸ“š Workshop Structure

This workshop is organized into multiple interconnected guides that build upon each other. Each .md file focuses on specific aspects of Docker development, from basic concepts to real-world applications.


🎯 Learning Path & File Order

Follow this exact order for the optimal learning experience:

Phase 1: Foundation (Required for Everyone)

Start here regardless of your experience level.

1. πŸ“– Main Workshop Guide

File: workshop_guide.md
Duration: ~2 hours
Prerequisites: None

What you'll learn:

  • Docker installation and setup verification
  • Core Docker concepts and fundamentals
  • Working with containers and images
  • Docker Compose basics
  • Building custom images
  • Local image management

Why start here: This is your foundation. Everything else builds on these concepts.


Phase 2: Practical Applications (Choose Your Path)

After completing the main guide, choose one or more application examples based on your interests:

2a. 🐍 Flask Backend Application

File: flask.md
Duration: ~45 minutes
Prerequisites: Phase 1 completed

What you'll learn:

  • Creating Python web applications with Flask
  • Writing Dockerfiles for Python apps
  • Environment variables and configuration
  • Database integration with containers
  • Multi-stage builds for Python

Choose this if: You're interested in backend development, Python, or APIs.

2b. πŸ…°οΈ Angular Frontend Application

File: angular.md
Duration: ~60 minutes
Prerequisites: Phase 1 completed

What you'll learn:

  • Containerizing Angular applications
  • Multi-stage builds for frontend apps
  • Nginx configuration for serving SPAs
  • Production optimization techniques
  • Development vs. production containers

Choose this if: You're interested in frontend development, Angular, or web applications.

2c. πŸš€ Full-Stack Integration

File: angular-flask.md
Duration: ~75 minutes
Prerequisites: Phase 1 + BOTH Flask AND Angular examples

What you'll learn:

  • Connecting frontend and backend services
  • Advanced Docker Compose orchestration
  • Database persistence and volumes
  • Reverse proxy configuration with Nginx
  • Service communication and networking
  • Production deployment strategies
  • Scaling and monitoring

Choose this if: You want to build complete, production-ready applications.


Phase 3: Professional Development (Optional but Recommended)

3. 🌐 Docker Hub & Image Sharing

File: docker-hub.md
Duration: ~30 minutes
Prerequisites: At least one application example from Phase 2

What you'll learn:

  • Creating and configuring Docker Hub accounts
  • Professional image tagging strategies
  • Publishing images to the community
  • Documentation best practices
  • CI/CD integration basics
  • Security considerations

Choose this if: You want to share your work or collaborate professionally.


πŸ›£οΈ Recommended Learning Paths

πŸŽ“ Beginner Path (3-4 hours total)

workshop_guide.md β†’ flask.md β†’ docker-hub.md

Perfect for: Complete Docker beginners, backend developers

🎨 Frontend Developer Path (3.5-4 hours total)

workshop_guide.md β†’ angular.md β†’ docker-hub.md

Perfect for: Frontend developers, UI/UX professionals

πŸš€ Full-Stack Developer Path (5-6 hours total)

workshop_guide.md β†’ flask.md β†’ angular.md β†’ angular-flask.md β†’ docker-hub.md

Perfect for: Full-stack developers, DevOps engineers, team leads

⚑ Quick Start Path (2.5 hours total)

workshop_guide.md β†’ flask.md (skip optional sections) Perfect for: Experienced developers who need Docker basics quickly


πŸ“ Repository Structure

docker-workshop/
β”œβ”€β”€ README.md                 # This file - start here!
β”œβ”€β”€ workshop_guide.md         # Main foundation guide
β”œβ”€β”€ command-reference.md      # Docker CLI commands cheatsheet
β”œβ”€β”€ flask.md                  # Backend Python application
β”œβ”€β”€ angular.md                # Frontend Angular application  
β”œβ”€β”€ angular-flask.md          # Full-stack integration
β”œβ”€β”€ docker-hub.md             # Professional image sharing
└── workshop/                 # Working directory for exercises

πŸš€ Getting Started

Step 1: Verify Prerequisites

  • Ensure Docker Desktop is installed and running
  • Have a code editor (VS Code recommended)
  • Stable internet connection
  • At least 4GB RAM available

Step 2: Clone or Download

# If using Git
git clone [repository-url]
cd docker-workshop

# Or download ZIP and extract

Step 3: Start Learning

  1. Open workshop_guide.md in your favorite text editor
  2. Follow the instructions step by step
  3. Use the workshop/ directory for all hands-on exercises
  4. Complete each section before moving to the next file

πŸ“– How to Use Each Guide

Reading the Guides

  • Each guide is self-contained but builds on previous knowledge
  • Follow the steps in order within each file
  • Don't skip verification steps - they ensure everything works
  • Take breaks between major sections

Working with Commands

  • All commands are provided for Mac, Windows, and Linux
  • Copy and paste commands from the guides
  • Verify each step works before proceeding
  • Check the troubleshooting sections if you encounter issues

Directory Management

  • Use the workshop/ folder for all exercises
  • Each guide will tell you when to create new subdirectories
  • Keep your workspace organized as shown in the guides

🎯 Learning Objectives

By completing this workshop, you will:

βœ… Understand Docker fundamentals and container concepts
βœ… Build and manage Docker images professionally
βœ… Create real-world applications with Docker
βœ… Use Docker Compose for multi-service applications
βœ… Implement best practices for security and performance
βœ… Share your work through Docker Hub
βœ… Deploy applications using container technologies


⚠️ Important Notes

Before You Start:

  • Ensure Docker Desktop is running before starting any guide
  • Close resource-intensive applications to free up system resources
  • Have administrator/sudo access available if needed
  • Test the hello-world container first: docker run hello-world

During the Workshop:

  • Don't skip the verification steps
  • Read error messages carefully - they often contain solutions
  • Use the troubleshooting sections in each guide
  • Take your time - understanding is more important than speed

After Each Section:

  • Clean up containers and images as instructed
  • Verify your understanding with the provided tests
  • Take notes on concepts that are new to you

πŸ”§ Troubleshooting & Support

Common Issues:

  • Docker not running: Start Docker Desktop and wait for it to fully load
  • Port conflicts: Use different ports as suggested in guides
  • Permission errors: Run terminal as administrator/use sudo
  • Space issues: Clean up Docker resources: docker system prune -a

Getting Help:

  • Check the troubleshooting section in workshop_guide.md
  • Verify your Docker installation: docker --version
  • Ensure internet connectivity for image downloads
  • Review the specific guide's troubleshooting tips

Additional Resources:


πŸŽ‰ What's Next?

After completing this workshop:

  1. Practice by containerizing your own applications
  2. Explore advanced Docker features like swarm mode
  3. Learn Kubernetes for production orchestration
  4. Contribute to open-source projects using Docker
  5. Share your knowledge with the community

πŸ“ Workshop Feedback

This workshop is designed to be comprehensive yet approachable. Each guide includes:

  • Clear step-by-step instructions
  • Cross-platform compatibility
  • Real-world examples
  • Best practices and professional tips
  • Troubleshooting guidance

Estimated Total Time Investment:

  • Minimum: 2 hours (foundation only)
  • Recommended: 4-5 hours (complete learning path)
  • Comprehensive: 6+ hours (all materials + experimentation)

Ready to start? Open workshop_guide.md and begin your Docker journey! πŸš€

About

Docker Workshop

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published