|
From: | Felix Ruess |
Subject: | Re: [Paparazzi-devel] Should we merge support for running Paparazzi in Docker? |
Date: | Wed, 8 Jul 2015 01:41:30 +0200 |
MIf it doesn't take too much space I would still commit docker stuff and mark it experimental (potentially useful).Probably something with the DNS server, since pinging IP works normally.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 github.com
ping: unknown host github.comOn Tue, Jul 7, 2015 at 12:12 PM, Felix Ruess <address@hidden> wrote:FelixHope that helps,git submodule update --initAs a workaround you can fetch all the submodules on your host before starting docker:Getting the background maps, etc. works fine as well...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).
http://docs.docker.com/installation/ubuntulinux/#optional-configurations-for-docker-on-ubuntuOn Tue, Jul 7, 2015 at 8:54 PM, Michal Podhradsky <address@hidden> wrote: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
_______________________________________________
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] |