This repo contains bootstrap code for starting a ROS-II foxy docker container for development.
This is not a repository designed for reproducible builds.
The container maps the whole home from the container to the host which includes the build and install directory.
The password for the user foxy is 'foxy'.
- docker
- user in docker group for non-root usage
- root access for the subuid/subgid changes
For the docker container to map with the correct UID and GID the /etc/subuid and /etc/subgid files as well as the /etc/docker/daemon.json file need to be edited. These changes are made by running:
sudo ./dev/runonce_docker.sh
This should only be done once as this script currently does not check if these changes are already present
To start the container one of the following methods can be used:
./dev/bootstrap.sh
To set the ROS ID directly use:
./dev/bootstrap.sh --rid=<ROS_ID>
Optionally use --name= to name the container.