Public Repository

Last pushed: 2 months ago
Short Description
Run Vamp on Docker!
Full Description

Source: magneticio/vamp-docker

Quick start with Docker

The easiest way to get started with Vamp is by spinning up one of the Docker images stored
in the vamp-docker repo and the public Docker hub.
This setup will run Vamp inside a Docker container with Vamp's Docker driver.
It is possible to run Vamp with and without Marathon.

Step 1: Get Docker

Please install one of the following for your platform/architecture

  • Docker 1.8.x (Linux), OR
  • Docker Toolbox if on Mac OS X 10.8+ or Windows 7+

Step 2: Run Vamp

Start the magneticio/vamp-docker:0.8.0 container, taking care to pass in the right parameters.

Mac OS X 10.8+ or Windows 7+

NB If you installed Docker Toolbox please use "Docker Quickstart Terminal". At this moment we don't support Kitematic yet.

A typical command on Mac OS X running Docker Toolbox would be:

docker run --net=host \
           -v ~/.docker/machine/machines/default:/certs \
           -e "DOCKER_TLS_VERIFY=1" \
           -e "DOCKER_HOST=`docker-machine url default`" \
           -e "DOCKER_CERT_PATH=/certs" \

Please notice the mounting of the docker machine certificates. Please set this to your specific environment.
You can get this info by running for instance docker-machine config default.
If you don't use Docker Toolbox (or Boot2Docker), set the DOCKER_HOST variable to whatever is relevant to your system.

Note: When using Boot2Docker on OS X use the following command:

docker run --net=host \
           -v ~/.boot2docker/certs/boot2docker-vm:/certs \
           -e "DOCKER_TLS_VERIFY=1" \
           -e "DOCKER_HOST=tcp://`boot2docker ip`:2376" \
           -e "DOCKER_CERT_PATH=/certs" \

If you want to run Vamp with Marathon:

docker run --net=host \
           -v /var/run/docker.sock:/var/run/docker.sock \
           -v $(which docker):/bin/docker \
           -v "/sys/fs/cgroup:/sys/fs/cgroup" \
           -e "DOCKER_HOST_IP=`docker-machine ip default`" \

Note: Default Marathon port is 9090 on docker-machine ip default

After some downloading and booting, your Docker log should say something like:

...Bound to /

Now check if Vamp is home on http://{docker-machine ip default}:8080/ and proceed to our getting started tutorial

Note: This runs all of Vamp's components in one container. This is definitely not ideal, but works fine for kicking the tires.
You will run into cpu, memory and storage issues pretty soon though. Also, random ports are assigned by Vamp which you might not have exposed on either Docker or your Docker Toolbox Vagrant box.

Things still not running? We're here to help →

Docker Pull Command