Ubuntu 14.04 image that contains all necessary software to compile CloudStack. CloudStack code is in /root and compiled with the simulator. MySQL database is running via supervisord. Start the container and you will enjoy CloudStack with a simulated data center.
docker pull cloudstack/simulator docker run --name cloudstack -d -p 8080:8080 cloudstack/simulator
Open your browser at http://localhost:8080/client
Default login is admin:password
Deploy a datacenter:
docker exec -ti cloudstack python \ /root/tools/marvin/marvin/deployDataCenter.py -i /root/setup/dev/advanced.cfg # or docker exec -ti cloudstack python \ /root/tools/marvin/marvin/deployDataCenter.py -i /root/setup/dev/advancedsg.cfg # or docker exec -ti cloudstack python \ /root/tools/marvin/marvin/deployDataCenter.py -i /root/setup/dev/basic.cfg
If you want to log into the container to run marvin and deploy a DC then do:
docker exec -ti cloudstack /bin/bash
- latest: daily build from master branch
- 4.5: on successful build of that branch
The images are a bit big and need to be optimized. Chime in at
https://github.com/apache/cloudstack to see the Dockerfile and help make it better.