ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

osrf/ros2:testing docker image not working

asked 2021-08-11 20:29:09 -0500

ijnek gravatar image


docker pull osrf/ros2:testing
docker run -it osrf/ros2:testing

Throws an error:

/ line 5: /opt/ros/rolling/setup.bash: No such file or directory

Am I doing something wrong, or is the docker image broken?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2021-08-11 23:35:12 -0500

ijnek gravatar image

updated 2021-08-13 01:51:17 -0500


This was intended behaviour. Quoting from a response to the issue,

While the osrf/ros2:testing does include the same script to keep it interchangeable with other ros image tags, it does not pre-install any ros specific packages, as it is intended to be used as a base image for child Dockerfiles that would install user specified ros dependencies. If you do want to spawn containers directly from the osrf/ros2:testing tag, you could override the default entrypoint by specifying a different one via the docker run arg:

docker run -it --rm --entrypoint="" osrf/ros2:testing


I've raised an issue in osrf/docker_images about this.

edit flag offensive delete link more

Question Tools



Asked: 2021-08-11 20:29:09 -0500

Seen: 298 times

Last updated: Aug 13 '21