Running OVS in CoreOS

There are two ways to run or install OVS in a CoreOS environment:

  • Build a CoreOS image with OVS
  • Run OVS inside a Docker container with the –net=host option

As we have already seen in Chapter 1, CoreOS, Yet Another Linux Distro in CoreOS there is no way to install an application. Any service/application should be deployed in a container. So the simple way to run OVS is to run OVS inside a Docker container. Let us see how we can install an OVS docker in CoreOS.

There is already a docker image available with OVS (coreos-ovs). Download this docker image from github link. Use the following cloud-config to start this container:


    - name: docker.service
 command: ...

Get Learning CoreOS now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.