From a0e899c4f3a494468851233838124c377f8b961d Mon Sep 17 00:00:00 2001 From: Manuel Muth Date: Thu, 23 Feb 2023 14:42:41 +0100 Subject: [PATCH] Add how to start roscore in docker (ros1) (#105) Add roscore how to start roscore in docker --- docs/faq/index.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/faq/index.rst b/docs/faq/index.rst index c7414335..0bfc7839 100644 --- a/docs/faq/index.rst +++ b/docs/faq/index.rst @@ -19,3 +19,7 @@ We explain :ref:`here ` how to expose your nvidia sudo: unable to resolve host : Name or service not known """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" Problem using sudo: If you encounter following message trying to use sudo: ``sudo: unable to resolve host : Name or service not known``. You have to add ``127.0.0.1 `` to the ``/etc/hosts`` file inside the container. However, using sudo should work fine without adding it. + +Docker and ROS1: Can not start my roscore. +"""""""""""""""""""""""""""""""""""""""""" +If you try to start your roscore inside the docker container with ``roscore``-command and get the following error message: ``RLException: Unable to contact my own server at [http://:]``. You have to add ``127.0.0.1 `` to the ``/etc/hosts`` file inside the container.