Skip to content

Module 7 - Docker

References

Timeline

Day 1

Part 1: Getting started

  • Download and installation
  • The Docker Dashboard
  • What is a container?

Part 2: Sample application

  • Sample application (Node.js app)
  • Building app's container image
  • Starting an app container

Part 3: Updating the application

  • Source code update
  • Removing/Starting a container

Part 4: Sharing the application (Optional?)

  • Creating a repo
  • Pushing the image
  • Running the image on a new instance

Part 5: Persisting the DB

  • Container's filesystem
  • Container volumes
  • Persisting db data

Part 6: Using bind mounts

  • Starting a dev-mode container

Part 7: Multi container apps

  • Container networking
  • Starting DB container image (MySQL)
  • Connecting to DB container image
  • Connecting app to DB container image

Part 8: Using Docker Compose

  • Installing Docker Composev
  • Creating Docker Compose file
  • Defining app and DB services
  • Running the application stack

Part 9: Image-building best practices (Optional)

  • Security scanning
  • Image layering
  • Layer caching
  • Multi-stage builds

Using Bind Mounts: error Couldn't find a package.json file in "/app" #76

docker build command fails on yarn install step with error "gyp ERR! find Python" #124

Quickstart: Compose and Django

Introduction to Docker

Docker for Beginners

Postgres up and running in less than 3 minutes with docker-compose

How to Dockerize a Django web app elegantly

Dockerizing a Django + MySQL project