Skip to content

Not automatically initializing ROS when using a custom Dockerfile #15

Description

@amarburg

While testing the custom Dockerfile for ros1-template, discovered it was not automatically configuring ros environment (source /opt/ros/noetic/setup.bash). Error messages:

--- Successfully built your container ---
Signing into docker (ros1-template-ws:latest) for workspace /home/aaron/workspace/ros-templates/ros1-template-ws
Starting docker container "ros1-template-ws" with image "ros1-template-ws:latest"...
nvidia-container-toolkit not installed, no CUDA support in this docker...
9d634d332e36409ad4df764277b82e2041b1328f1e12d2307fadcb8a29fa4967
realpath: /home/aaron/workspace/ros-templates/ros1-template-ws: No such file or directory
Could not find a ROS workspace while traversing upwards from

Looks like maybe a path-outside-of-docker versus path-inside-of-docker confusion?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions