dev container for project3 development
4.3K
A dockerized container for developing 595 project3 autograder.
You need to be in the cis548 organisation in DockerHub. You also need to be an owner or admin.
I believe you may need to be logged into Docker locally as well. You can do this in the commandline.
docker login -u <username> -p <password>
Or by signing in with Docker Desktop.
Pull the latest image:
docker pull cis548/595-project3-autograder-dev:latest
Once you have the latest image, start a new container. This will mount the current directory onto /home/cit595. Therefore, you should start the container from the 595-project3-autograder root directory (or git clone the repository to this directory, haven't decided how to do it yet).
docker run -it -v $(pwd):/home/cit595 cis548/595-project3-autograder-dev:latest
I haven't figured this out yet.
We use docker buildx to generate images for AMD64 and ARM64 CPUs. You can run the build-images.sh script to automate this process. You only need to do this if you're installing new applications. I think.
./build-images.sh
mybuilder.docker buildx create --name mybuilder
mybuilder as the new default builder and double-check the change is in effect.docker buildx use mybuilder
docker buildx inspect --bootstrap
cis548/595-project3-autograder-dev. To push images to the Docker Hub reposiotry, make sure you have the right permissons to the repo (i.e. you are in the cis548 organisation and potentially in the owners group).docker buildx build . --platform=linux/amd64,linux/arm64/v8 -t cis548/595-project3-autograder-dev:latest --push
Example:
docker tag cis548/595-project3-autograder-dev:latest cis548/595-project3-autograder-dev:<GitHub release>
docker image push cis548/595-project3-autograder-dev:<GitHub Release>
Content type
Image
Digest
sha256:f968d5bd2…
Size
499.3 MB
Last updated
over 1 year ago
docker pull cis548/595-project3-autograder-dev