Skip to content

About

Small Repository with configuration and Docker file to run a ROS2-Lyrical Devcontainer

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Requirements

Setup

  1. Clone the Repo on the level of your workspace root (next to the src folder)
git clone git@github.com:autonohm/.devcontainer.git
  1. Switch to the branch with the desired Version
cd .devcontainer
git switch <branch_name>
  1. Change the UID and GID Environment variables at the top of the Dockerfileto the ones of your user (check with id command)

  2. Open the workspace root as Folder in VS-Code. A Popup should appear in the bottom right corner, click on 'Reopen in Container'. If the Popup does not show up, open Commands (ctrl + shift + p) and run Dev Containers: Reopen in Container (You might need to build on the first time)

  3. On the Host, run:

xhost +local:docker

this grants the container access to open windows like rviz
this has to be executed every time you log in so consider adding it to startup scripts

Important Notice

Packages that are installed inside the container disappear after a Rebuild. So If you are looking to permanently install a package consider adding it to the Dockerfile

About

Small Repository with configuration and Docker file to run a ROS2-Lyrical Devcontainer

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages