This repository contains a Docker image used to run the University of Manitoba Robotics Team's base station. This image is intended to only include runtime dependencies and software used as part of the base station team's workflow.
- Generate a Personal Access Token for your GitHub account
- In the upper-right corner of any page on GitHub, click your profile photo, then click
Settings
- In the left sidebar, click
Developer settings
- In the left sidebar, under
Personal access tokens
, clickTokens (classic)
- Click
Generate new token (classic)
at the top of the page- Give your token a nice name, e.g. "UMRT Docker auth token"
- Set expiration to a reasonable date sometime between now and your expected graduation
- Check
read:packages
, and leave the rest unchecked - Click Generate token
- You should now see a bunch of letters/numbers starting with
ghp_
, this is your token - Save the token somewhere safe, once you leave this page you will never be able to see it again
- In the upper-right corner of any page on GitHub, click your profile photo, then click
- Set up Docker authentication
- Open a terminal and type,
docker login ghcr.io
- Enter your GitHub username, and instead of password paste your token
- You should now be able to download UMRT Docker images!
- Open a terminal and type,
- Test by running
docker pull ghcr.io/umroboticsteam/umrt-build
to download the latest image
An example command is:
docker run --rm -it --name umrt-base --pull=always ghcr.io/umroboticsteam/umrt-base-station:main
This always checks for and downloads the latest image before starting, which may or may not be the ideal behaviour.
If a specific version is wanted, such as v0.0.1
, simply change umrt-base-station:main
to umrt-base-station:v0.0.1
.