Skip to content

Instantly share code, notes, and snippets.

@psprings
Created October 29, 2019 18:40
Show Gist options
  • Select an option

  • Save psprings/bee3b74723423b62bf3199d0c951300c to your computer and use it in GitHub Desktop.

Select an option

Save psprings/bee3b74723423b62bf3199d0c951300c to your computer and use it in GitHub Desktop.

Docker basics

Getting started

What is a container?

What is a Container? | Docker

Docker 101: Getting to Know Docker - Docker Blog

A: Containerization uses the kernel on the host operating system (Linux today with Windows container support coming with Windows Server 2016) to run multiple root file systems. Each root file system is called a container. A Container is a standard unit in which an application resides. A container packages an application and everything it needs to run into one portable unit. Each container has its own: processes, memory, devices and network stack. Containers are managed by the Docker engine. The Docker Engine is responsible for creating and managing containers and can run in any physical, virtual or cloud environment.

Basics and terminology

Get Started, Part 1: Orientation and setup | Docker Documentation

Installation

Mac

Uses the HyperKit virtualization layer to run the Docker daemon so that it is exposed at /var/run/docker.sock just like the default Linux installations.

Install Docker Desktop for Mac | Docker Documentation

Direct download

Windows

Install Docker Desktop for Windows | Docker Documentation

Direct download

Docker Machine

Leverages a virtual host (such as VirtualBox) to run the Docker daemon. This can be an alternative way to "install" Docker locally if you are having issues with Docker for Mac or Docker for Windows installations. Some of these problems may present during installation, where others may be observed later in the process (example: Docker for Windows may have trouble mounting a local volume on some corporate Windows machines).

Install Docker Machine | Docker Documentation

Public sandbox environment

Play with Docker

Training

Play with Docker Classroom

Useful links

Cheat sheet

Docker Cheat Sheet – Statuscode – Medium

Courses

A Docker Tutorial for Beginners

Katacoda

Learn Docker & Containers using Interactive Browser-Based Labs | Katacoda

Udemy

Docker Essentials | Udemy

Containers 101 | Udemy

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