Code Monkey home page Code Monkey logo

dockeracp's Introduction

Accelerite CloudPlatform Simulator as Docker Image

The purpose of this docker image is to run automated integration tests for the CloudStack modules in Ansible.

Setup

The docker image runs the CloudPlatform simulator and contains two zones for the different network setups: basic and advanced networking.

CloudPlatform Zone: Sandbox-simulator-advanced Zone: Sandbox-simulator-basic

Build

docker build -t axar1990/cloudplatform-simulator . --no-cache

Run

docker run --name cloudstack -d -p 8080:8080 -p 8096:8096 axar1990/cloudplatform-simulator

NOTE: It may take some time configure CloudPlatform HF8. (Max 4 to 5 Minutes)

Docker Notes:

Ubuntu 16.04 image that contains all necessary software to compile CloudPlatform. CloudPlatform code is in /root/Accelerite-CloudPlatform-5dee9ee28067748d485344f4b9b0eb345acfad51/ and compiled with the simulator. MySQL database is running via supervisord. Start the container and you will enjoy CloudPlatform with a simulated data center.

docker pull axar1990/cloudplatform-simulator:hf8
docker run --name cloudplatform -d -p 8080:8080 -p 8096:8096 axar1990/cloudplatform-simulator:hf8

Open your browser at http://localhost:8080/client

Default login is admin:password

Deploy a datacenter:

docker exec -ti cloudplatform python \
/root/Accelerite-CloudPlatform-5dee9ee28067748d485344f4b9b0eb345acfad51/tools/marvin/marvin/deployDataCenter.py -i /root/Accelerite-CloudPlatform-5dee9ee28067748d485344f4b9b0eb345acfad51/setup/dev/advanced.cfg
# or 

docker exec -ti cloudplatform python \
/root/Accelerite-CloudPlatform-5dee9ee28067748d485344f4b9b0eb345acfad51/tools/marvin/marvin/deployDataCenter.py -i /root/Accelerite-CloudPlatform-5dee9ee28067748d485344f4b9b0eb345acfad51/setup/dev/advancedsg.cfg
# or 

docker exec -ti cloudplatform python \
/root/Accelerite-CloudPlatform-5dee9ee28067748d485344f4b9b0eb345acfad51/tools/marvin/marvin/deployDataCenter.py -i /root/Accelerite-CloudPlatform-5dee9ee28067748d485344f4b9b0eb345acfad51/setup/dev/basic.cfg

If you want to log into the container to run marvin and deploy a DC then do:

docker exec -ti cloudplatform /bin/bash

dockeracp's People

Contributors

aksharbarot avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.