Git Product home page Git Product logo

midonet-dockerfile's Introduction

Midonet Dockerfile

This repository contains a set of Dockerfiles that build the pieces for a midonet deployment.

Base Docker Images

Installation

ATTENTION!: Docker containers share kernel with the host. Midolman agent is attached to openvswitch kernel datapath. We strongly recommend you to follow this steps in a Virtual Machine.

    $ wget -qO- https://get.docker.com/ | sh```
  • Clone repo:
    $ git clone http://github.com/midonet/midonet-dockerfile
    $ cd midonet-dockerfile

Usage

  • Be sure the openvswitch module is loaded in you docker server machine
    $ modprobe openvswitch
  • Run the fig script. (You may need to install fig via pip pip install fig)
    $ fig up -d
  • All the services will be running in this moment. Run a new container using the midonet-cli binary linked to the midonet api to start playing with midonet cli:
    $ fig run cli midonet-cli
  • If you want to try out the centos version of the midonet containers you can just modify the fig.yml file to point to the docker images for midolman, midonet-api and midonet-cli with tag 2014.11-rc3_centos (or newer '_centos' tag). Then run the previous fig run cli midonet-cli command.

Scale Midonet Agents

Midonet agents can be easily scaled. (Cassandra and Zookeeper can not now). Deploy diferent midonet agents (in your enviroment they will behave as if they were hypervisors)

    $ fig scale midolman=4

After a few seconds, log in into the midonet-cli and check your 'hosts':

example fig scale

Alternative installation

If you enjoy watching how packages are installed and/or you don't mind wasting you time and your vision in a terminal window, we have something for you: build docker images by yourself instead of download them from docker registry!

  • Run the build_testing_images.sh script. We will have the images pushed in Docker Hub Registry soon.

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.