[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 16:30:10 -0700

Updating docker to 1.7.0 allowed me to pass USB devices to the docker (that is really neat).
However I still can't ping / contact outside world:
address@hidden:~/paparazzi$ ping
ping: unknown host

Probably something with the DNS server, since pinging IP works normally.

If it doesn't take too much space I would still commit docker stuff and mark it experimental (potentially useful).


On Tue, Jul 7, 2015 at 12:12 PM, Felix Ruess <address@hidden> wrote:
Hi Michal,

cool that you tested it.

I didn't do anything special... except that at some point before using docker for paparazzi I created a docker group and added myself:

I can ping github or update the submodule from within docker just fine (I'm currently running Docker version 1.7.0, build 0baf609).
Getting the background maps, etc. works fine as well...

As a workaround you can fetch all the submodules on your host before starting docker:
git submodule update --init

Hope that helps,

On Tue, Jul 7, 2015 at 8:54 PM, Michal Podhradsky <address@hidden> wrote:
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

Paparazzi-devel mailing list

Paparazzi-devel mailing list

reply via email to

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