Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ros:rolling-ros-base-jammy
FROM ros:rolling-ros-base

# change default shell to bash
SHELL ["/bin/bash", "-c"]
Expand Down
5 changes: 3 additions & 2 deletions docker/doc/docker.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,17 @@ To run the ``lbr_fri_ros2_stack`` in a Docker container, follow the instructions

export FRI_CLIENT_VERSION=1.15 # replace by your FRI client version
mkdir -p lbr-stack/src && cd lbr-stack
git clone https://github.com/lbr-stack/lbr_fri_ros2_stack.git -b rolling src/lbr_fri_ros2_stack --depth 1
vcs import src --input https://raw.githubusercontent.com/lbr-stack/lbr_fri_ros2_stack/rolling/lbr_fri_ros2_stack/repos-fri-${FRI_CLIENT_VERSION}.yaml

#. Install `Docker <https://docs.docker.com/engine/install/>`_:octicon:`link-external`.

#. Copy the Dockerfile and the container scripts to the ``lbr-stack`` directory. Build and start the container
#. Copy the Dockerfile and the container scripts to the ``lbr-stack`` directory. Build and start the container (make sure Docker is configured to run as non-root user: `linux-postinstall <https://docs.docker.com/engine/install/linux-postinstall>`_:octicon:`link-external`).

.. code-block:: bash

cp -r src/lbr_fri_ros2_stack/docker/* .
sudo ./container_build.sh # this will run the container once finished
./container_build.sh # this will run the container once finished

#. Once inside the container, launch e.g. the mock setup via

Expand Down
Loading