Skip to content

Instantly share code, notes, and snippets.

@bertoort
Last active September 26, 2016 19:56
Show Gist options
  • Save bertoort/c4da60cf334a515ab42fd0ef26cb5042 to your computer and use it in GitHub Desktop.
Save bertoort/c4da60cf334a515ab42fd0ef26cb5042 to your computer and use it in GitHub Desktop.
Docker introduction

Docker


Objectives

  • Define Docker
  • Describe the difference between VM vs Containers
  • Define Images and Containers
  • Use docker for development and deployment

What is Docker?

Package your application into a standardized unit for software development

  • Build once (finally), run anywhere
  • Configure once, run anything

VM vs Containers


VM Demo

  • VirtualBox

Images

An image is an inert, immutable, file that's essentially a snapshot of a container.


Docker Demo

  • Docker Run
    • -v, -p, --name, bin/bash...
  • Dockerfile

Exercise

Use Docker to run a previous app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment