GithubHelp home page GithubHelp logo

th3architect / libnetwork-plugin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from plumgrid/libnetwork-plugin

0.0 2.0 0.0 20 KB

PLUMgrid Docker libnetwork plugin implementation

License: Apache License 2.0

Makefile 2.11% Go 97.89%

libnetwork-plugin's Introduction

PLUMgrid libnetwork-plugin

The PLUMgrid Libnetwork Plugin enables seamless way to connect Docker containers to PLUMgrid. It provides distributed and scalable fast networking, with built in HA capabilities and access to feature rich networking platform as well as advanced networking capabilities like tunneling, multi-host networking, DNS, security etc.

Pre-Requisites

  • PLUMgrid ONS
  • golang1.4 >=
  • Install Docker v1.9+
curl -sSL https://get.docker.com/ | sh

QuickStart Instructions

The quick start instructions will guide in creating a docker network with PLUMgrid libnetwork plugin and then launch docker containers onto that network.

  • Start the docker daemon
$ docker daemon
$ mkdir $HOME/work
  • export GOPATH environment variable
$ export GOPATH=$HOME/work

add workspace’s bin subdirectory to your path

$ export PATH=$PATH:$GOPATH/bin
  • clone the PLUMgrid libnetwork plugin repo
$ git clone https://github.com/plumgrid/libnetwork-plugin.git $GOPATH/src/github.com/libnetwork-plugin/
  • move to plugin directory and make binaries
$ cd $GOPATH/src/github.com/libnetwork-plugin/
$ make
  • now run the PLUMgrid libnetwork plugin
$ sudo mkdir -p /run/docker/plugins
$ ./plugins/plumgrid
  • create a network using PLUMgrid driver
$ docker network create --subnet=10.0.0.0/24 -d plumgrid net1
  • create a network on specific domain
$ docker network create --subnet=10.0.0.0/24 -d plumgrid -o domain=domainID net1
  • create a docker container onto that network
$ docker run -itd --name=cont1 --net=net1 busybox

run several containers, and verify they can ping each other

libnetwork-plugin's People

Contributors

fawadkhaliq avatar msagheer avatar

Watchers

 avatar  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.