This repository contains a Parrot Olympe dockerfile. For testing purposes the dockerimage will start an Olympe Python script and connect to a simulated ANAFI Ai drone using the Sphinx simulator.
/olympe-dockerfile
βββ README.md Repository README
βββ Dockerfile Dockerfile for Olympe
βββ main.py Python script to test dockerfile
In your terminal run
git clone https://github.com/mgr098/olympe-dockerfile.git
cd olympe-dockerfile
Once you have cloned and navigated to the folder build the image
docker build -t olympe:latest .
Verify build success
To verify that the build succeded run
docker images
The expected result is
REPOSITORY TAG IMAGE ID CREATED SIZE
olympe latest 078c596242ad 0 days ago 690MB
Run the olympe dockerfile
docker run --network host olympe:latest
From the Docker docs
The host networking driver only works on Linux hosts, and is not supported on Docker Desktop for Mac, Docker Desktop for Windows, or Docker EE for Windows Server.
In practice this means that if you're running this image on a non Linux host, the olympe script you are running will run unreliable. This mostly means getting time synchronization failures, ping errors, and connection timeouts.