GithubHelp home page GithubHelp logo

jacekkow / docker-plugin-pyveth Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 10 KB

pyveth - veth driver for Docker Engine written in Python

Home Page: https://hub.docker.com/p/jacekkow/pyveth

License: BSD 3-Clause "New" or "Revised" License

Dockerfile 4.12% Python 69.07% Shell 26.81%
docker-engine docker-plugin macvlan veth

docker-plugin-pyveth's Introduction

pyveth - Docker Plugin for veth networks

Simple network plugin for Docker Engine that can replace macvlan in container-as-VM scenarios, allowing host-to-container communication (see docker/for-linux#931 for bug details).

It should be a drop-in replacement for macvlan module.

Build status

Installation

Plugin is packaged as Docker Engine-managed plugin. Check out plugin page on Docker Hub.

To install it simply run:

docker plugin install jacekkow/pyveth

Usage

After installation you can use driver in newly-created networks:

docker network create --driver jacekkow/pyveth:latest new-network

By default it will simply create a pair of veth interfaces for each container. One will be pushed inside the container and another will remain on host (without any IP assigned).

Plugin accepts optional parent parameter, which is a name of bridge interface that the second interface should be added to:

docker network create --driver jacekkow/pyveth:latest --opt parent=br0 new-network

This way host interface will be automatically attached to the specified bridge.

Manual packaging

In order to test this module in development environment, you can build it by following Docker Engine documentation.

You can also use package.sh helper script which will perform all the steps (including installation) automatically.

docker-plugin-pyveth's People

Contributors

jacekkow avatar

Stargazers

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