[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Paparazzi-devel] Should we merge support for running Paparazzi in D

From: Michal Podhradsky
Subject: Re: [Paparazzi-devel] Should we merge support for running Paparazzi in Docker?
Date: Tue, 7 Jul 2015 11:54:30 -0700

it looks like a good idea, but I am not able to make it running. I can start paparazzi in docker, and start compiling - but can't connect to github to get libopencm3 library (can't ping but "ping" works).
I tracked down the issue to the iptables settings on host, but docker doesn't seem to offer an easy solution (
Did you have to do something special to get it running?

On Fri, Jul 3, 2015 at 7:36 AM, Felix Ruess <address@hidden> wrote:
I have never tried it (don't have Windows)... In theory it should work ;-)

You will most likely have some annoyances with different line endings (Unix vs. DOS) in the files since the paparazzi directory is shared between the host platform and docker.
Also I'm not sure if forwarding usb ports works on windows...

Test it and report back ;-)

On Fri, Jul 3, 2015 at 4:29 PM, Bart Remes <address@hidden> wrote:

Can we also run easily on windows then?


Op 2-jul.-2015 19:01 schreef "Felix Ruess" <address@hidden>:
Hi guys,

I just had to run some Paparazzi tests on a machine again where I didn't have all dependencies installed but had access to Docker.
Some months ago I already set up some Docker files and it is actually working quite nicely for me.

So the question is if this would be useful for someone else as well (maybe as a faster alternative to a virtual machine)?
If yes, I can commit it to the official repo...

If you want to test it out:

$ cd paparazzi/docker
$ make pull
then you should have the docker images...
Run a shell in docker:
$ make bash
$ make terminator
Then you are in the docker container and you can compile/start paparazzi as usual...
If you already compiled paparazzi within docker, you can also directly run paparazzi the next time:
$ make paparazzi
$ make start

/dev/ttyx and /dev/ACMx devices are also automatically forwarded to docker and you can flash and use telemetry from within docker.

Let me know what you think

Cheers, Felix

Paparazzi-devel mailing list

Paparazzi-devel mailing list

Paparazzi-devel mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]