Tommy Parnell f9782e782e adjust readme
2017-01-04 09:34:15 -05:00
2017-01-04 08:53:25 -05:00
2017-01-04 09:34:15 -05:00

Intro to docker

This is the code for my intro to docker class. This is the materials for an in-person class, and is not for self-directed learning. This is still being put together. Please clone the repo on the day of the class for the latest materials.

Getting Started

We first need to setup our machines. Click the link for your OS.

MacOS

if you are on MacOS you can brew cask install docker-toolbox or you can download the docker toolbox here

Notes about Windows 7, 8, 8.1, server 2012

Since you are on older verisons of windows you will run the docker kernel as a VM in a hypervisor. Your hypervisors are listed below.

  • Win 7 - virtualbox
  • Win 8, 8.1, 2012 - hyperv

We need to create a machine by doing the following. Please note that you must replace MyHypervisor with the hypervisor listed above

docker-machine create mydock -d MyHypervisor

Now when we work with docker we need to first configure our shell to tell docker to use this machine (once per shell instance)

docker-machine env mydock | invoke-expression

You will then need to docker-machine ls and take note of your docker machine's IP address. When we launch websites in docker instead of browsing on localhost you will browse to your docker machine's IP address.

Description
Materials for my in-person course on an intro to docker
Readme 176 KiB
Languages
C# 55.4%
JavaScript 20.4%
EJS 13%
Dockerfile 4.7%
Ruby 3.6%
Other 2.9%