Skip to content

Commit

Permalink
Update docker instructions (#351)
Browse files Browse the repository at this point in the history
* Update docker instructions

* Update userdoc.rst

---------

Co-authored-by: Olivier Stasse <ostasse@laas.fr>
  • Loading branch information
christophfroehlich and olivier-stasse authored Sep 27, 2023
1 parent 40b92dd commit 07a897f
Show file tree
Hide file tree
Showing 3 changed files with 268 additions and 56 deletions.
3 changes: 2 additions & 1 deletion Dockerfile/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/bin/sh

. /opt/ros/"${ROS_DISTRO}"/setup.sh
. /home/ros2_ws/install/setup.sh
cd /home/ros2_ws
. install/setup.sh
exec "$@"
8 changes: 1 addition & 7 deletions doc/run_from_docker.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
.. note::

The commands below are given for a local installation of this repository and its dependencies. If you use the provided docker container, add the prefix

.. code::
docker run -it --rm --name ros2_control_demos --net host ros2_control_demos
to every command followed by a ``gui:=false``. For more information on the docker usage see :ref:`ros2_control_demos_install`.
The commands below are given for a local installation of this repository and its dependencies as well as for running them from a docker container. For more information on the docker usage see :ref:`doc/ros2_control_demos/doc/index:using docker`.
Loading

0 comments on commit 07a897f

Please sign in to comment.