CodeGrade / orca

Grading job server for CS student submissions.
1 stars 1 forks source link

Use Docker as Source of Truth for Image Names #75

Closed williams-jack closed 2 months ago

williams-jack commented 2 months ago

Feature/Problem Description

It is possible for Docker to load in a .tgz from a different host machine with the Repository <hostname>/<image-group-name>.

To remedy this, instead of assuming the name for the container will always be grader-<sha>, we now turn to:

  1. The docker image ls output (where an image name contains the SHA) or
  2. The output of the docker load -i <tgz-file> command, which when successful will output the name of the image saved to the local registry.

Solution (Changes Made)