Skip to content

Using the Docker Image

Marc Hanheide edited this page Jan 30, 2024 · 25 revisions

Using the Module's Docker Image

All software required is deployed as a Docker image, allowing anyone to run this on any computer that has Docker installed. The containerised development environment is made available as a "DevContainer", heavily customised for the work within the Lincoln Centre for Autonomous Systems (L-CAS) and to contain a ROS2 development environment.

You are provided with a GitHub Repository, that has the DevContainer preconfigured for you use and which you can use for your own development. Please see here: https://github.com/LCAS/ros2-teaching-ws

The documentation of how to use that DevContainer can be found in https://github.com/LCAS/ros2-teaching-ws/blob/main/README.md

If you have any questions, please use the Module's MS Teams Channel

Note: Any changes you have been done in your home directory on this desktop are deleted if your dev container is deleted. So please make sure you store all your work properly on a source revision system like GitHub.

Note: If you have installed docker with sudo on linux, you may receive the following error message when logging in Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/auth": dial unix /var/run/docker.sock: connect: permission denied if so, run all docker commands beginning with sudo or add your user to the docker group and log in again.

After your work, shut everything down

  1. stop all processes inside the terminals of your VSCode environment (e.g. with [ctrl-c] in the terminals)
  2. make sure you have saved all your work somewhere, e.g. on github, or the likes
  3. If you are on a shared computer (e.g. the lab PCs), make sure you log out of everything and you removed any password files etc.

This is what it looks like

<iframe src="https://uol.cloud.panopto.eu/Panopto/Pages/Embed.aspx?id=1bc88d3d-8529-479d-8750-b10500cef213&autoplay=false&offerviewer=true&showtitle=false&showbrand=false&captions=false&interactivity=none" height="405" width="720" style="border: 1px solid #464646;" allowfullscreen allow="autoplay" aria-label="Panopto Embedded Video Player"></iframe>

Clone this wiki locally