ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I can recommend using remote development in vscode using this template: https://github.com/athackst/vscode_ros2_workspace
This is only for development, but I think it can be easily converted to a deployable docker container. This dev environment will be mounting onto your work directories root folder and thereby the development is "local" while you are building inside the docker container.
The only issue I have encountered so far is having to bind hardware(USB ports, etc.) to the docker container before running the dev environment. But in general, it works pretty nicely.
This might not be a direct answer to 1. or 2. but I think it is a better way of developing as you do not have to rebuild your container every time you want to recompile.