Skip to content

Instantly share code, notes, and snippets.

@spkane
Last active June 15, 2018 00:44
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save spkane/ddbaa27b05071450b66060527a378576 to your computer and use it in GitHub Desktop.
Save spkane/ddbaa27b05071450b66060527a378576 to your computer and use it in GitHub Desktop.
DUR Workshop - Setup #dw #setup

Docker: Up and Running - Workshop Edition Setup

Note: Student should run through all of this setup BEFORE the workshop.

You will need a current and working copy of docker and docker-compose installed on your system before class starts.


Prerequisites for this course:

  • A recent computer and OS
    • Recent Linux, OS X, or 64bit Windows 10 (Pro, Enterprise and Education editions).
    • root/admin rights
    • Sufficient resources to run one 2 CPU virtual machine (VM)
    • CPU Virtualization extensions MUST be enabled in your BIOS/EFI
      • This is likely only an issue if you have NEVER run a virtual machine on your system and are using a PC-based system.

  • A text editor (or IDE)
  • Git client
  • SSH client

  • Docker Community Edition
    • Configured for Linux Containers (NOT Windows Containers)
  • Basic comfort with the Unix command line will be helpful.

  • Slack account and Slack Client (native or web)
    • O'Reilly should provide access to the proper Slack community and channel.

  • [optional] tar utility
  • [optional] wget utility
  • [optional] curl utility
  • [optional] jq utility

Tool Requirements:

Ensure that you have these pre-installed:




  • [optional] tar
    • (All): Install via package manager, if not pre-installed.
  • [optional] wget
    • (All): Install via package manager, if not pre-installed.
  • [optional] curl
    • (All): Install via package manager, if not pre-installed.
  • [optional] jq
    • (All): Install via package manager, if not pre-installed.

Warming the Cache

Running the following commands, after you have installed Docker Community Edition, will download and install some of the larger files that we will need to download during class, saving everyone time and bandwidth.


  • From a Unix/OS X terminal prompt run:
cd ${HOME}
mkdir docker-workshop
cd docker-workshop
mkdir code
git clone https://github.com/spkane/dur-workshop.git --config core.autocrlf=input
git clone https://github.com/spkane/hubot-docker.git --config core.autocrlf=input
git clone https://github.com/spkane/wearebigchill.git --config core.autocrlf=input
# **NOTE:** It is important that this code end up in ${HOME}/docker-workshop/layout
git clone https://github.com/spkane/docker201.git layout --config core.autocrlf=input
docker pull debian:latest
docker pull fedora:22
docker pull redis:3.2.5
docker pull node:6.11.3
docker pull spkane/train-os:latest
docker pull adejonge/helloworld:latest
docker pull spkane/starwars:latest
docker pull postgres:9.6.3
docker pull gogs/gogs:0.11.19
docker pull registry:2.6.1
docker pull spkane/dc-201-jenkins:latest
docker pull spkane/quantum-game:latest
wget https://raw.githubusercontent.com/spkane/train-os/master/default.json # optional
wget https://raw.githubusercontent.com/spkane/train-os/master/strace.json # optional

  • From a Windows command prompt run:
cd %HOMEPATH%
mkdir docker-workshop
cd docker-workshop
mkdir code
git clone https://github.com/spkane/dur-workshop.git --config core.autocrlf=input
git clone https://github.com/spkane/hubot-docker.git --config core.autocrlf=input
git clone https://github.com/spkane/wearebigchill.git --config core.autocrlf=input
# **NOTE:** It is important that this code end up in %HOMEPATH%/docker-workshop/layout
git clone https://github.com/spkane/docker201.git layout --config core.autocrlf=input
docker pull debian:latest
docker pull fedora:22
docker pull redis:3.2.5
docker pull node:6.11.3
docker pull spkane/train-os:latest
docker pull adejonge/helloworld:latest
docker pull spkane/starwars:latest
docker pull postgres:9.6.3
docker pull gogs/gogs:0.11.19
docker pull registry:2.6.1
docker pull spkane/dc-201-jenkins:latest
docker pull spkane/quantum-game:latest
wget https://raw.githubusercontent.com/spkane/train-os/master/default.json # optional
wget https://raw.githubusercontent.com/spkane/train-os/master/strace.json # optional
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment