Skip to content

mgr098/olympe-dockerfile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Olympe Dockerfile πŸ‹

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.

Prerequisites βœ”

Folder content πŸ—ƒοΈ

/olympe-dockerfile
    β”œβ”€β”€ README.md           Repository README
    β”œβ”€β”€ Dockerfile          Dockerfile for Olympe
    └── main.py             Python script to test dockerfile           

Setup βš™οΈ

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

Usage πŸ–₯

Run the olympe dockerfile

docker run --network host olympe:latest

Limitations 🚨

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.

Releases

No releases published

Packages

No packages published