Sign inSign up

hechaol/ovs

By hechaol

Updated over 8 years ago

Ubuntu 16.04 with Open vSwitch installed.

Image
1

538

hechaol/ovs repository overview

The base image is ubuntu:16.04. Ovs is installed by following the instruction here: http://docs.openvswitch.org/en/latest/intro/install/general/. Only installation and db creation are done. No process (vswitched, ovsdb-server, etc) is running.

Dockerfile:

FROM ubuntu:16.04
MAINTAINER Hechao Li

ARG OVS_VERSION=2.9.0
ARG OVS=openvswitch-${OVS_VERSION}

RUN apt-get update && \
apt-get install --no-install-recommends -y \
wget libtool autoconf automake make gcc libssl-dev python python-pip && \
pip install six && \
wget http://openvswitch.org/releases/${OVS}.tar.gz && \
tar -zxvf ${OVS}.tar.gz && rm ${OVS}.tar.gz && \
cd ${OVS} && ./boot.sh && ./configure --enable-shared && \
make && make install && cd - && \
apt-get purge --auto-remove -y \
wget libtool autoconf automake make gcc python-pip && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* ${OVS} && \
mkdir -p /usr/local/etc/openvswitch /usr/local/var/run/openvswitch && \
ovsdb-tool create /usr/local/etc/openvswitch/conf.db \
/usr/local/share/openvswitch/vswitch.ovsschema && \
ovsdb-tool create /usr/local/etc/openvswitch/vtep.db \
/usr/local/share/openvswitch/vtep.ovsschema

Tag summary

Content type

Image

Digest

Size

73 MB

Last updated

over 8 years ago

docker pull hechaol/ovs:2.9.0