rocker-org / rocker

R configurations for Docker
https://rocker-project.org
GNU General Public License v2.0
1.45k stars 273 forks source link

docker pull r-bspm manifest unknown #436

Closed verajosemanuel closed 1 year ago

verajosemanuel commented 3 years ago

hi

Trying to test bspm docker container but command pull raises an error:

docker pull rocker/r-bspm
Using default tag: latest
Error response from daemon: manifest for rocker/r-bspm:latest not found: manifest unknown: manifest unknown

regards

###############

Solved calling specific tag. ("latest" is not available)

eddelbuettel commented 3 years ago

There is no latest. There are 18.04 and 20.04 for Ubuntu, and testing for Debian, see https://hub.docker.com/r/rocker/r-bspm/tags?page=1&ordering=last_updated

Because there are two "competing" distro we cannot have one promoted to latest.

(@cboettig There is a minor nuisance in that the top-level README.md still "squats" on all the subdirectories. At one point I had carefully written README.md entries (sadly, direcly at hub.docker.com) for a handful of my image directories ... only to see them replaced by the generic one. :crying_cat_face: Something to clean up one days I suppose.)

cboettig commented 3 years ago

@eddelbuettel yeah totally. At some point we need to tidy up READMEs and come up with a better strategy to help users find the right repos

MatthieuStigler commented 1 year ago

sorry @verajosemanuel , could you please share a few more details on what you mean by Solved calling specific tag ? How did you proceed exactly, i.e. which command/tag? Thanks!

eddelbuettel commented 1 year ago

@MatthieuStigler The standard Docker identification is

$ docker pull  [repo/]NAMESPACE/IMAGE_NAME[:tag]

We almost never use the first part and fall back to the Docker repository, but there is e.g. ghcri.io for GitHub's. We sometimes omit the tag at the end and get latest if it exists.

As an illustration I have these for r-bspm accumulated here and could pick any one:

edd@rob:~$ docker images | grep r-bspm
rocker/r-bspm                        f38             a95027b18f0c   7 days ago      808MB
rocker/r-bspm                        22.04           dc915499b6d8   6 weeks ago     790MB
rocker/r-bspm                        jammy           dc915499b6d8   6 weeks ago     790MB
rocker/r-bspm                        focal           822f1a0721d4   6 weeks ago     759MB
rocker/r-bspm                        20.04           14dbaac4a2e0   6 weeks ago     759MB
rocker/r-bspm                        testing         f8d638093496   6 months ago    912MB
rocker/r-bspm                        <none>          e088566db42b   10 months ago   785MB
rocker/r-bspm                        18.04           4e20bf46aca2   13 months ago   659MB
edd@rob:~$ 

Note that I have not designed any one as latest but using the Ubuntu (or Fedora) release id gets me precisely what I want.

(Also consider r2u and its rocker/r2u images: They are an improved superset with a (much) richer repo behind them.)

MatthieuStigler commented 1 year ago

great, thanks a lot @eddelbuettel !!

bbolker commented 3 months ago

Is this documented somewhere more prominent? If not, could it be? I went to the images page and encountered the same issue (with the same solution). .e.g., tell people to look at https://hub.docker.com/r/rocker/r-bspm/tags?page=1&ordering=last_updated for the list of possible tags ...

If requested, I will take a crack at adding a note to the images index page ...

On the other hand, @eddelbuettel says here that r-bspm has

not [been] updated in two years (as it was more or less a precursor to r2u)

Should the r-bspm image be deprecated/removed from the list? (Or do we expect that users will know which one would be more useful to them ... ?)