Dragonfly works well inside a Docker container with a true native level of performances.
Why Dragonfly inside Docker
These are the advantages of running the Dragonfly Java App in a Docker container:
- There is no need for any installation or compilation as long as Docker is installed on the machine, a single command-line is enough to run the Dragonfly Java App (the Dragonfly Java App is downloaded at first start).
- Your existing environment remains untouched as no installation of Dragonfly dependencies is required (they are all included inside the container).
- The host machine can be any OS able to run Docker
- It is very easy to run multiple instances of the Dragonfly Java App on the same machine. It is just required to start multiple containers.
It is NOT possible to forward a USB camera from a Windows 10 host to a Docker container. Thus, you won’t be able to see any USB camera inside Dragonfly. However, it should be possible to stream the video of the USB camera from the host to the container and use a gstreamer pipeline inside Dragonfly to get the video stream. Please contact us if you are interested about this option.
At the following links you can find the installation instructions for Docker: