-
Notifications
You must be signed in to change notification settings - Fork 32
Using the 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.
You may have an error in VS Code saying that "docker is not installed" to resolve this, you should open a terminal and run the docker command. You should get a list of commands you can use. This means docker is installed on your machine.
If you're using Windows or macOS: make sure that Docker Desktop is running.
If you're on a Lab Ubuntu PC... you may need to reopen VS Code as a new window (right-click the icon on the dock, click new empty window), this is because it can't find the .devcontainer configuration file. You should be able to proceed as normal.
- stop all processes inside the terminals of your VSCode environment (e.g. with
[ctrl-c]in the terminals) - make sure you have saved all your work somewhere, e.g. on github, or the likes
- If you are on a shared computer (e.g. the lab PCs), make sure you log out of everything and you removed any files etc[^1].
[^1]: The Lab PCs are configured to delete files saved to delete files on restart. On windows all files will be removed, but on ubuntu only some folders such as, the Documents, Downloads, and Desktop. Please make sure you only work inside of these folders.
https://uol.cloud.panopto.eu/Panopto/Pages/Viewer.aspx?id=1bc88d3d-8529-479d-8750-b10500cef213
Copyright by Lincoln Centre for Autonomous Systems
-
CMP3103
- Using the Docker Image
- Week 1
- Week 2
- Week 3
- Week 4
- Week 5: Start working towards Coursework 2526
- Week 6: Enhancement Week, no timetabled sessions
- Week 7 and beyond
- Using the real Limo Robot