Directions on how to run the ActiveStack Docker containers
If you are on windows or OSX, use Docker Toolbox to install docker client, docker-machine, docker-compose, and VirtualBox on you machine.
- Run "Docker Quickstart Terminal". In the Docker terminal:
- Clone ActiveStack Docker
git clone git@github.com:activestack/ActiveServerDockerConfig.git
- Change directories to ActiveServerDockerConfig
cd ActiveServerDockerConfig/simplefor single docker instances for each component (activeserver, mysql, redis, rabbitmq)cd ActiveServerDockerConfig/clustredfor some components in a cluster (currently rabbitmq. Others comming soon ...)
- Start the containers
docker-compose upforegrounddocker-compose up -ddaemon
From within a Docker terminal:
docker-machine ip dev- To see which ports the containers are running ondocker ps- Lists all running containerssudo docker exec -i -t <container-d> bash- To attach to bash in a particular running container
- The database files are stored within the MySQL Docker container, which could be useful to create a container with seed data for dev.