Skip to content

Instantly share code, notes, and snippets.

@Shurlow
Last active November 17, 2019 01:36
Show Gist options
  • Save Shurlow/d16db7a339fc84b986fd8cbf8d165f37 to your computer and use it in GitHub Desktop.
Save Shurlow/d16db7a339fc84b986fd8cbf8d165f37 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?

    Your answer...

  • 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