You will need a current and working copy of docker
and docker-compose
installed on your system before class starts.
- Note: These notes are designed to work with mdp
- 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
Ensure that you have these pre-installed:
- Package Manager (Installation Tool)
- (Windows) - Scoop (https://github.com/lukesampson/scoop)
- (OS X) - Homebrew (https://brew.sh/)
- (Linux) - apt, yum, dnf, apk, etc.
- Docker Community Edition
- Text Editor / IDE
- (All): One option - https://code.visualstudio.com/
- Git
- (All): Install via package manager, if not pre-installed.
- SSH client
- (All): Install via package manager, if not pre-installed (For Windows, try: win32-openssh)
-
- Slack account and Slack Client (native or web)
- (All): https://slack.com/downloads
- Slack account and Slack Client (native or web)
- [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.
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