Source: magneticio/vamp-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.
Please install one of the following for your platform/architecture
Start the magneticio/vamp-docker:0.8.0 container, taking care to pass in the right parameters.
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" \
magneticio/vamp-docker:0.8.0
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" \
magneticio/vamp-docker:0.8.0
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`" \
magneticio/vamp-docker:0.8.0-marathon
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 /0.0.0.0:8080
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 →
Content type
Image
Digest
Size
686.8 MB
Last updated
over 8 years ago
docker pull magneticio/vamp-docker:build-1123-ws