Racket: Docker images for racket

Created on 29 May 2020  路  7Comments  路  Source: racket/racket

Does racket provide official docker images? What I see on hub.docker.com is confusing:

This drives user into the following problems:

/h/user  位  sudo docker run -it racket/racket /bin/sh                                                                                                                                                                                                                             
Unable to find image 'racket/racket:latest' locally
/nix/store/cd8v2cc0pdawnsh3c228cxjbaqi0r7mb-docker-19.03.9/libexec/docker/docker: Error response from daemon: manifest for racket/racket:latest not found: manifest unknown: manifest unknown.
See '/nix/store/cd8v2cc0pdawnsh3c228cxjbaqi0r7mb-docker-19.03.9/libexec/docker/docker run --help'.
/h/user  位  sudo docker run -it racket/racket-ci /bin/sh
Unable to find image 'racket/racket-ci:latest' locally
/nix/store/cd8v2cc0pdawnsh3c228cxjbaqi0r7mb-docker-19.03.9/libexec/docker/docker: Error response from daemon: manifest for racket/racket-ci:latest not found: manifest unknown: manifest unknown.
See '/nix/store/cd8v2cc0pdawnsh3c228cxjbaqi0r7mb-docker-19.03.9/libexec/docker/docker run --help'.
ci feature request

Most helpful comment

Update: the images are transferred to the DockerHub racket/racket repository, but the github repository hasn't yet been moved from jackfirth/racket to racket/racket. Will get around to that eventually, then this can be closed.

All 7 comments

Those repositories are used by the Racket team as part of Racket's GitHub Actions CI pipeline. They're not meant for public consumption. There isn't an "official" repository (in that it's owned by the Racket organization) of Docker images for Racket, but my jackfirth/racket (source repo) Docker images are probably the most commonly used unofficial ones. The command docker run -it jackfirth/racket:7.7 will give you an interactive Racket 7.7 REPL.

@jackfirth thank you for the answer! This is cool, I'll use your images.

But let me tell my opinion for the community on the absence of the official images:
I think it is a good idea to have them, because newcomers will be confused by the fact that some images are exist in the https://hub.docker.com/u/racket but they are not usable, thats just not obvious.

I am using racket around 2 years... despite this I've got into similar situation 馃槅

I think official images would be nice too. It's mostly a matter of finding the time and energy to get around to doing it. I don't think anyone is against the idea.

I (or I'm sure @pmatos) would be happy to review PRs to add more automatically-built images. You can see the definition of the current ones in the.github/workflows directory.

Agree with @samth here. Maybe we could create racket images from the snapshots - PRs welcome. The current images are not really racket images but images to aid racket-ci so they don't actually provide racket. Maybe this should be clarified on the README for the racket docker hub.

As a starting point, I'd also be happy to transfer the jackfirth/racket github and dockerhub repos to the racket organization.

Update: the images are transferred to the DockerHub racket/racket repository, but the github repository hasn't yet been moved from jackfirth/racket to racket/racket. Will get around to that eventually, then this can be closed.

Was this page helpful?
0 / 5 - 0 ratings