Public | Automated Build

Last pushed: 3 years ago
Short Description
Docker-in-Docker + OVS + ryu + pipework Superpack (deprecated; please use osrg/dind-ovs-ryu instead)
Full Description

Docker-in-Docker + OVS + ryu + pipework Superpack

This container helps you connect Docker-in-Docker to Open vSwitch (-in-Docker, with ryu) via pipework.

Available on Docker Hub:


$ sudo modprobe openvswitch
$ docker run --privileged -t -i -e LOG=file -h dind-superpack --rm akihirosuda/dind-ovs-superpack
 * /etc/openvswitch/conf.db does not exist
 * Creating empty database /etc/openvswitch/conf.db
 * Starting ovsdb-server
 * Configuring Open vSwitch system IDs
 * Starting ovs-vswitchd
 * Enabling remote OVSDB managers
Assigned to ovsbr0
root@dind-superpack:/# docker run -itd -h dind1 --name dind1 busybox
root@dind-superpack:/# pipework ovsbr0 dind1
root@dind-superpack:/# docker run -itd -h dind2 --name dind2 busybox
root@dind-superpack:/# pipework ovsbr0 dind2
root@dind-superpack:/# docker exec -it dind1 sh
/ # ping -c 3
PING ( 56 data bytes
64 bytes from seq=0 ttl=64 time=0.201 ms
64 bytes from seq=1 ttl=64 time=0.056 ms
64 bytes from seq=2 ttl=64 time=0.094 ms

--- ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.056/0.117/0.201 ms
/ # 


You can add a few optional variables to docker like docker -e VAR_NAME=VAR_VALUE.

  • OVSBR0_IP: IPv4 address assigned to ovsbr0 bridge. default="".
  • OVSBR0_NETMASK: netmask of ovsbr0. default="24".
Docker Pull Command