/docker-tutorial

Sample examples for Docker Compose

Primary LanguageHTMLApache License 2.0Apache-2.0

Docker Tutorial

Notes and excercises for my Docker bootcamp

Agenda

  • Why we use Docker
  • Understanding containers, images, Dockerfiles, tags and registeris
  • Configuring, running, listing and inspecting Docker containers
  • Check the logs for a docker container
  • Docker container networking
  • Docker container storage
  • Environment variables
  • Building pushing Docker images
  • Docker image examples
  • Working with Docker compose
  • Docker registeries and working with them
  • Side car containers
  • Why we need orchestrator?

Chapters

Introduction to Docker

  1. What is Docker
  2. What are containers
  3. Benefits of using containers

Docker Hands-on

  1. Installing Docker
  2. Docker Architecture(notes/docker-architecture.md)

Dockerfile examples

  1. Docker Init
  2. Nginx with dockerfile
  3. Nginx with COPY instruction
  4. Nginx with ADD instruction
  5. python-flask

Docker-compose examples

Nginx

  1. nginx without Dockerfile
  2. nginx with Dockerfile
  3. nginx for local development
  4. nginx with mysql

WordPress

  1. WordPress multistage build