GithubHelp home page GithubHelp logo

de-ibh / bird-docker Goto Github PK

View Code? Open in Web Editor NEW
11.0 3.0 2.0 8 KB

Docker image for the BIRD Internet Routing Daemon

Home Page: http://bird.network.cz/

Dockerfile 100.00%
docker-image routing-protocols

bird-docker's Introduction

The BIRD Internet Routing Daemon

These are docker images for bird based on the offical Debian package:

  • ibhde/bird4 - IPv4 version of BIRD
  • ibhde/bird6 - IPv6 version of BIRD

Tagged Docker Images

Images are tagged according to the installed BIRD version. The images are based on official Debain GNU/Linux releases.

bird4

bird6

Usage

$ docker run --rm --net=host --uts=host --cap-add=NET_ADMIN --cap-add=NET_BROADCAST --cap-add=NET_RAW -v /path/to/config:/etc/bird:ro ibhde/bird4

The command is used as options for BIRD (which is already the entrypoint).

# docker-compose.yml example
version: '3'
services:
  bird4:
    image: ibhde/bird4
    cap_add:
      - NET_ADMIN
      - NET_BROADCAST
      - NET_RAW
    network_mode: host
    volumes:
      - /path/to/conf.d:/etc/bird:ro

  bird6:
    image: ibhde/bird6
    cap_add:
      - NET_ADMIN
      - NET_BROADCAST
      - NET_RAW
    network_mode: host
    volumes:
      - /path/to/conf.d:/etc/bird:ro

CLI

To use the CLI from outside you could use two following wrapper scripts. This also allows the usage of the BIRD Internet Routing Daemon Check plugin for CheckMK on the host.

  • /usr/local/bin/birdc
#!/bin/bash

if [ -t 0 ]; then
    exec docker exec -it bird_bird4_1 birdc $@
else
    exec docker exec -i bird_bird4_1 birdc $@
fi
  • /usr/local/bin/birdc6
#!/bin/bash

if [ -t 0 ]; then
    exec docker exec -it bird_bird6_1 birdc6 $@
else
    exec docker exec -i bird_bird6_1 birdc6 $@
fi

bird-docker's People

Contributors

liske avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

liske timapril

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.