In case dragonflow is used as a base image for another docker image, and the
WORKDIR is set to something other than /opt/dragonflow before running the
container, the call to run_dragonflow.sh will fail as the reference is relative
so it will not be found.
Change-Id: If9f25f94520fd74ab14658cf63f43c940da7b2ea
When running Dragonflow controller in container, an exception is thrown
as the /var/run/dragonflow directory does not exist
Change-Id: Ie2f83d5b34a1fd1fe6b6e0fe9975a24f1d6eeb6b
Closes-Bug: #1808816
This docker image is using Python 3.6 as default instead of the 2.6
version used by the default image.
In order to create the Fedora docker image, use the following command:
docker build -t dragonflow -f Dockerfile.fedora .
Recently we have added features that are supported only with Python 3,
so this docker will allow us to run them natively.
e.g. https://review.openstack.org/#/c/616106
Co-Authored-By: Omer Anson <omer.anson@toganetworks.com>
Change-Id: Iefd88738424906e832564b23f69320b775c98376
Partially-Implements: blueprint add-dragonflow-api