Skip to content

Instantly share code, notes, and snippets.

@MatthewYee92
Forked from Shurlow/docker.md
Last active November 17, 2019 01:36
Show Gist options
  • Save MatthewYee92/114f5149cd63cbc2075f7ec6dacb9645 to your computer and use it in GitHub Desktop.
Save MatthewYee92/114f5149cd63cbc2075f7ec6dacb9645 to your computer and use it in GitHub Desktop.
Intro to Docker and Docker Compose

Intro Docker & Docker Compose

Objectives

  • Explain what Docker is
  • Explain why Docker is useful
  • Build an image with the docker CLI
  • Build an image with a Dockerfile
  • Use docker-compose to build and run multiple containers

Guiding Questions

Use this example repo to practice Docker and Docker Compose: https://github.com/Shurlow/docker-lesson

  • What is a virtual machine? What does Docker do?

    Your answer...

  • Why is Docker useful?

    Your answer...

  • How do you build a docker image using the docker CLI command?

    Your answer...

  • How do you build a docker image using a Dockerfile?

    docker build

  • How do you build a docker image using a Dockerfile?

    Your answer...

  • How do you use Docker Compose build and run multiple containers?

    Your answer...

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