Closed AJNOURI closed 9 years ago
Hi @AJNOURI, please see the Using the Open vSwitch utilities section of the readme as that may help.
If you want an interactive console, you can do the following:
cid=$(docker run -itd socketplane/openvswitch)
docker exec -it $cid /bin/sh
This has the benefit of starting the Open vSwitch services for you.
It's also possible to docker run -it socketplane/openvswitch /bin/sh
but you will have to start ovsdb-server
, ovs-vswitchd
and run the config script manually (this is all handled by supervisord in the above example)
Thanks @dave-tucker,
cid=$(docker run -itd socketplane/openvswitch)
docker exec -it $cid /bin/sh
suits me.
For testing purposes, I need to run openvswitch utilities from the interactive console
The console open but doesn't return the prompt, looks like other processe (ovsdb-server) is running in the foreground. I have tried to add "&" at the end of :
Still cannot get the console prompt. Any help in that direction?