Skip to content

Commit

Permalink
Add how to start roscore in docker (ros1) (StoglRobotics#105)
Browse files Browse the repository at this point in the history
Add roscore how to start roscore in docker
  • Loading branch information
mamueluth authored Feb 23, 2023
1 parent b196101 commit a0e899c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/faq/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,7 @@ We explain :ref:`here <docker-nvidia-support-how-to>` how to expose your nvidia
sudo: unable to resolve host <hostname>: Name or service not known
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
Problem using sudo: If you encounter following message trying to use sudo: ``sudo: unable to resolve host <hostname>: Name or service not known``. You have to add ``127.0.0.1 <hostname>`` 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://<hostname>:<port>]``. You have to add ``127.0.0.1 <hostname>`` to the ``/etc/hosts`` file inside the container.

0 comments on commit a0e899c

Please sign in to comment.