Skip to content

Commit

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

* Update userdoc.rst

---------

Co-authored-by: Olivier Stasse <[email protected]>
(cherry picked from commit 07a897f)

Co-authored-by: Christoph Fröhlich <[email protected]>
  • Loading branch information
mergify[bot] and christophfroehlich authored Sep 27, 2023
1 parent 9d4cd7c commit ed33141
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 ed33141

Please sign in to comment.