Skip to content

Commit

Permalink
Update docker instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
christophfroehlich committed Aug 20, 2023
1 parent b8dd69e commit a20cb7d
Show file tree
Hide file tree
Showing 3 changed files with 267 additions and 55 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 a20cb7d

Please sign in to comment.