Skip to content

jfahrer/containerizing_rails

Repository files navigation

README

Getting started

Please make sure to install

We will hand out USB sticks with the installers for Mac and Windows to save some bandwidth.

Make sure to create a Docker ID if you don't have one already: https://hub.docker.com/signup

Clone this repository so that we can iterate on it later in the workshop:

git clone https://github.com/jfahrer/containerizing_rails

Testing your Docker installation

Run the following command on you system:

docker version

The output of the command should look similar to this:

Client: Docker Engine - Community
 Version:           18.09.1
 API version:       1.39
 Go version:        go1.10.6
 Git commit:        4c52b90
 Built:             Wed Jan  9 19:33:12 2019
 OS/Arch:           darwin/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          18.09.1
  API version:      1.39 (minimum version 1.12)
  Go version:       go1.10.6
  Git commit:       4c52b90
  Built:            Wed Jan  9 19:41:49 2019
  OS/Arch:          linux/amd64
  Experimental:     true

The important parts here are

Verifying Docker Compose version

Run the following command on you system:

docker-compose -v

The output of the command should look similar to this:

docker-compose version 1.23.2, build 1110ad01

If you are running an older Version of Docker Compose or you are getting a command not found, please follow the installation instructions for Docker Compose: https://docs.docker.com/compose/install/

Pre-loading images

To save even more bandwidth and time, the USB sticks contain various "images" that we will use throughout the workshop. Please open a shell and change into the images directory on the USB stick. In there you will run the following commands:

docker image load --input ubuntu.tar
docker image load --input redis.tar
docker image load --input postgres.tar
docker image load --input ruby-on-ice.tar
docker image load --input ruby.tar

The output should look similar to this:

bebe7ce6215a: Loading layer [==================================================>]  90.62MB/90.62MB
283fb404ea94: Loading layer [==================================================>]  15.87kB/15.87kB
663e8522d78b: Loading layer [==================================================>]  11.26kB/11.26kB
4b7d93055d87: Loading layer [==================================================>]  3.072kB/3.072kB
Loaded image: ubuntu:18.04

Assignments

Throughout the workshop you will complete the following assignments:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published