[ovs-discuss] Problem while trying to add bridge in a container

Gurucharan Shetty shettyg at nicira.com
Tue Feb 17 18:35:08 UTC 2015


On Tue, Feb 17, 2015 at 10:23 AM, Abhishek Chanda
<abhishek.lists at gmail.com> wrote:
> In the container, but since it is in host networking mode, I believe
> it should show up on the host as well. We observed this issue on the
> container, and while debugging we found that this happens on the host
> as well.
So you want it both in container and host. I think you should run
using '--pid=host' (atleast that is how I have used it). You don't
need to use the --privileged in that case.


>
> Thanks
>
> On Tue, Feb 17, 2015 at 7:44 AM, Gurucharan Shetty <shettyg at nicira.com> wrote:
>> On Fri, Feb 13, 2015 at 2:57 PM, Abhishek Chanda
>> <abhishek.lists at gmail.com> wrote:
>>> Hi all,
>>>
>>> I am trying to run OVS in a docker container. A process on the
>>> container adds a bridge using ovs-vsctl and another queries it using
>>> ip link show. After the bridge is added, it shows up on querying using
>>> ovs-vsctl but does not show up on ip link show. ovs-vswitchd log shows
>>> the bridge being added, being configured and after some time, it does
>>> not show up. On the host, everything works fine till the container is
>>> started. How do I debug this?
>>>
>>> The container is running with host networking and in privileged mode.
>>
>> What is your end goal? Do you want to see OVS bridge inside the
>> container or in the host?



More information about the discuss mailing list