mohitkr05 / docker-tutorial

Sample examples for Docker Compose

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Sample examples for Docker Compose

License:Apache License 2.0


Languages

Language:HTML 71.4%Language:Dockerfile 16.6%Language:PHP 10.2%Language:Python 1.7%