/docker-TTG

Slides and samples used during the docker introduction sessions at Torino Technologies Group

Primary LanguagePython

docker at Torino Technologies Group

Toolkit

  • Docker Desktop
    You have to create a docker hub account

  • Docker Documentation

  • WSL - (Win user only) - Optional
    Ubuntu 16.04 should be fine, but I suggest you to start with 18.04 instead.
    Someone had issue installing docker-compose via python. Installing it via curl works just fine.
    WSL provides a full linux bash experience. Win users not using WSL have to adapt some commands within this tutorial and convert some scripts to the target terminal language.

Introduction

Docker basic workflow

  • Understanding the Dockerfile and the multistage build approach

  • Build an image

  • Run a container understanding port forwarding and environment variables

  • Interact with a running container

  • Create an image from a running container

  • Stop a running container

  • Play with the container registry

Try all the steps using the dotnetcore api sample

Managing files and data

  • Share files between host and container

  • Stateful app

  • Container as development environment

Try all the steps using the volumes sample

Advanced topics

  • Logs management

  • Understanding ENTRYPOINT and CMD

  • Docker networking fundamentals

  • What containers are for real?

Try all the steps using the advanced sample

Local orchestration with docker-compose

  • The classic voting app sample

  • Dino sample

Try all the steps using the docker compose sample

CI/CD examples

  • Deploy a docker app using azure webapp

  • github + travis + heroku

Try all the steps using the deploy docker image to an azure webapp