Infrastructure

Infrastructure

For this class, we will be using running a Docker container with additional privilege to emulate the ability to interact with the OS system calls.


Preliminary


Setup

Fall 2025 students

This setup has been updated and simplified. If you have setup the CSC331 environment already, you should carry out the following steps to reset and repull/rebuild your images.

  • First, stop all running containers (login and csc331).
  • Clean up all stopped containers (type y and press Enter when asked)
1
docker container prune
  • Remove the previous images
1
2
docker image rm linhbngo/onering:login
docker image rm linhbngo/onering:csc331
1
2
3
git config --global core.autocrlf false
git clone https://github.com/ngo-classes/the-one-ring
cd the-one-ring
1
2
docker image pull linhbngo/onering:csc331
docker compose -f docker-compose.yml up csc331

Test

1
ssh -p 22331 student@localhost