Public Repository

Last pushed: 2 years ago
Short Description
Built from davetucker/docker-ovs:2.1.2 For testing purposes only. ovsdb-server at port 6640 supervisor at port 9001
Full Description

FROM barbaracollignon/omh-ovs-test:latest

MAINTAINER YourName

RUN export OVS_RUNDIR=/var/run/openvswitch

RUN sed -i s/nodaemon=true/nodaemon=false/g /etc/supervisord.conf

RUN supervisord

RUN supervisorctl

Start background services ( ref: slideshare by @AdrienBlind @ArnaudMazin)

RUN /usr/bin/ovs-vsctl --db=punix:/var/run/openvswitch/db.sock add-br tech-br &

RUN /usr/bin/ovs-vsctl --db=punix:/var/run/openvswitch/db.sock add-port tech-br tep0

RUN /usr/bin/ovs-vsctl --db=punix:/var/run/openvswitch/db.sock set interface tep0 type=internal &

RUN /usr/bin/ovs-vsctl --db=punix:/var/run/openvswitch/db.sock add-br sdn-br0 &

RUN /usr/bin/ovs-vsctl --db=punix:/var/run/openvswitch/db.sock set bridge sdn-br0 stp_enable=true &

RUN /usr/bin/ovs-vsctl --db=punix:/var/run/openvswitch/db.sock add-port sdn-br0 gre0

RUN /usr/bin/ovs-vsctl --db=punix:/var/run/openvswitch/db.sock set interface gre0 type=gre options:remote_ip=1.2.3.4 &

Docker Pull Command
Owner
barbaracollignon

Comments (0)