|
From: | Felix Ruess |
Subject: | Re: [Paparazzi-devel] Should we merge support for running Paparazzi in Docker? |
Date: | Tue, 7 Jul 2015 21:12:22 +0200 |
Mit 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 github.com but "ping 4.2.2.2" works).Did you have to do something special to get it running?
I tracked down the issue to the iptables settings on host, but docker doesn't seem to offer an easy solution (https://docs.docker.com/articles/networking/#the-world).On Fri, Jul 3, 2015 at 7:36 AM, Felix Ruess <address@hidden> wrote:Test it and report back ;-)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...On Fri, Jul 3, 2015 at 4:29 PM, Bart Remes <address@hidden> wrote:Can we also run easily on windows then?
Bart
Op 2-jul.-2015 19:01 schreef "Felix Ruess" <address@hidden>:_______________________________________________$ make startorIf you want to test it out:If yes, I can commit it to the official repo...So the question is if this would be useful for someone else as well (maybe as a faster alternative to a virtual machine)?Some months ago I already set up some Docker files and it is actually working quite nicely for me.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.$ make paparazzi$ make pullthen you should have the docker images...Run a shell in docker:$ make bashor$ make terminatorThen 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:/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 thinkCheers, Felix
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
[Prev in Thread] | Current Thread | [Next in Thread] |