Skip to content

Latest commit

 

History

History
61 lines (45 loc) · 1.71 KB

README-LEGACY.md

File metadata and controls

61 lines (45 loc) · 1.71 KB

Prerequisites (Mac)

Installation instruction for older versions of Docker.

With Docker Toolbox (incl. VirtualBox)

You should have Docker Toolbox installed, see https://www.docker.com/toolbox

I am using docker-compose to start several docker container at once. Since all containers run in a single VM (virtualbox), this VM needs enough memory.

Step 0 - Check Docker Machine version

Ensure that you are using version 0.3.0 or greater of docker-machine.

# docker-machine version
docker-machine version 0.8.2, build e18a919

Step 1 - Start Docker Machine

Start the machine, using the --virtualbox-memory option to increase it’s memory. I use 6000 MB to accommodate all the docker images.

# docker-machine create -d virtualbox --virtualbox-memory "6000" default
Running pre-create checks...
Creating machine...
(default) Creating VirtualBox VM...
(default) Creating SSH key...
(default) Starting VM...
Waiting for machine to be running, this may take a few minutes...
Machine is running, waiting for SSH to be available...
Detecting operating system of created instance...
Detecting the provisioner...
Provisioning with boot2docker...
Copying certs to the local machine directory...
Copying certs to the remote machine...
Setting Docker configuration on the remote daemon...
Checking connection to Docker...
Docker is up and running!
To see how to connect Docker to this machine, run: docker-machine env default

Step 2 - Set Docker Machine Connection

Configure shell environment to connect to your new Docker instance

eval "$(docker-machine env default)"

Step 3 - clone Repository

Clone Repository

git clone git@github.com:marcelbirkner/docker-ci-tool-stack.git
cd docker-ci-tool-stack