Docker

Docker is a really cool technology. If you need a video tutorial to jump in and get started, Peter McKee, a senior software engineer at Docker made a great video to help you get started with Docker. To learn more, watch Michael Irwin's talk at DockerCon 2019, "Containers for Beginners" the first installment of Docker's "Docker 101" series on YouTube.

Liz Rice's talk on creating Docker containers from scratch

Getting Started

Open the application in the menu bar to have Docker run its initial configurations, and then log in to the docker hub. From here, you're all set up and can proceed to use Docker from the command line.

Command Line Operations

Publication

A few additional steps are required to publishing a container to GitHub's container registry.

SSH Connections

version: '3'
services:
  my_service_name:
    build: .
    environment:
      - SSH_AUTH_SOCK="${SSH_AUTH_SOCK}"
    volumes:
      - ${SSH_AUTH_SOCK}:${SSH_AUTH_SOCK}
docker run \
    --rm \
    --tty \
    --interactive \
    -v ${SSH_AUTH_SOCK}:${SSH_AUTH_SOCK} \
    --env SSH_AUTH_SOCK=${SSH_AUTH_SOCK} \
    CONTAINER_TAG