<div dir="ltr"><div><div>Hi Ruffin, <br><br></div>I think there would definitely be intest in making an official ROS repo on Docker Hub. Docker does provide a nice platform for making reproducible environments. We've been using it heavily in our next generation of the ROS buildfarm. [1] <br><br>There's a minimum organization length so we've been using an osrf organization for our recent use. [2]<br></div><br><div>In the new buildfarm work we have the ability to generate Dockerfiles for arbitrary combinations of ROS packages, arches, and distributions. I think leveraging that capability such that we can maintain the many Dockerfiles we would need. From that we can clean it up and make sure we meet all the requirements for an Official Repository. With the number of Dockerfiles we will need we should not be maintaining them manually and I'd suggest we setup a parallel repository into which we can generate the Dockerfiles for Dockerhub to pick up. The rosdistro repo is already super busy. <br></div><div><div><div><br></div>Tully<br><br><br>[1] <a href="http://wiki.ros.org/buildfarm">http://wiki.ros.org/buildfarm</a><br>[2] <a href="https://registry.hub.docker.com/repos/osrf/">https://registry.hub.docker.com/repos/osrf/</a><br><br><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 6, 2015 at 8:50 PM, Ruffin White <span dir="ltr"><<a href="mailto:roxfoxpox@gmail.com" target="_blank">roxfoxpox@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hello everyone,</div><div><br></div><div>I wanted to ask the community and the admins if there would be any interest in making an official ROS repo for the <a href="https://registry.hub.docker.com/" target="_blank">Docker Hub Registry</a>? </div><div><br></div><div>I've been using ROS with <a href="https://www.docker.com/" target="_blank">Docker</a> for a while now, and I've found it really helpful for my ROS projects. Learning how to use Linux containers takes a bit of a learning curve but once you get a hang of it, its like you can't stop <a href="http://en.wikipedia.org/wiki/Thinking_outside_the_box" target="_blank">thinking inside the container</a>. </div><div><br></div><div>So I've been using it as development environment tool as well as a platform for sharing working demos, as well as the a perfect tool for deploying apps to robots. For one of my research lab's projects, <a href="http://www.cogrob.org/2014/05/omnimapper-modular-multimodal-mapping-framework/" target="_blank">OmniMapper</a>, I've been documenting my progress in our github wiki pages. I made a docker image for the demo, allowing novices users to skip much of the tedious build and dependency processes, and get straight to running and playing with the project, as I explain in <a href="https://github.com/CognitiveRobotics/omnimapper/wiki/Tutorial-%7C-OmniMapper-&-Docker" target="_blank">this tutorial</a>.</div><div><br></div><div>I have to say, I'm not the first to do this, it seem to be trending here and there, so just to cite a few:</div><div><ul><li><a href="http://gernotklingler.com/blog/" target="_blank">Gernot Klingler</a> and his a detailed post: <a href="http://gernotklingler.com/blog/docker-replaced-virtual-machines-chroots/" target="_blank">How docker replaced my virtual machines and chroots</a>, a guide in how to enable a container to connect to an x-server and graphical hardware acceleration.</li><li><a href="https://github.com/opencog" target="_blank">opencog</a> with <a href="https://github.com/opencog/ros" target="_blank">examples</a> in the use of Docker for research and collaboration within the robotics community.</li><li><a href="https://registry.hub.docker.com/u/quantumobject/docker-ros-base/" target="_blank">quantumobject / docker-ros-base</a><br></li></ul></div><div>This sort of reminds me how I got into using ROS when first playing with it in virtual machines, like <a href="http://nootrix.com/2014/09/ros-indigo-virtual-machine/" target="_blank">these ones</a>, way back when. But know I can get bare metal performance, mount any arbitrary directories or hardware from my host, and keep my images tiny on disk. Plus, I get to pick any modern Linux distro to use as a host, not just Ubuntu.<br></div><div><br></div><div>So I've followed the <a href="https://docs.docker.com/docker-hub/official_repos/" target="_blank">Guidelines for Creating and Documenting Official Repositories</a>, and have a few proposed images for both Indigo and Hydro. I have a <a href="https://github.com/ruffsl/rosdistro" target="_blank">fork of rosdistro</a> with the necessary Dockerfiles (just my first though on where to pull request them into), and a <a href="https://github.com/ruffsl/docs" target="_blank">fork of docker-library/docs</a> with the appropriate entry for ROS image conforming to the registry's standards.</div><div><br></div><div>I can contact the Docker Hub admins to get the project added, I just wanted to get in touch with the admins first and get the community's blessing.</div><div><br></div><div>Feedback welcome!</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Ruffin</div></font></span></div>
<br>_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@lists.ros.org">ros-users@lists.ros.org</a><br>
<a href="http://lists.ros.org/mailman/listinfo/ros-users" target="_blank">http://lists.ros.org/mailman/listinfo/ros-users</a><br>
<br></blockquote></div><br></div>