Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Except that the docker cli defaults to the https://hub.docker.com registry.

Meaning if you do

    docker pull rust
it'll get it from https://hub.docker.com/_/rust

Then there are namespaced things, for example your new product, mattrick/awome-flobbergator

How to install? Docker.

    docker pull mattrick/awome-flobbergator

    Using default tag: latest
    Error response from daemon: pull access denied for mattrick/awome-flobbergator, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
Every time someone needs to prefix it with ghcr.io to make it pull from GitHub.

We shouldn't do

1) default registries

2) when we post documentation online we should be explicit as to what the registry is



This is all part of docker's master plan.

You can see it with more clarity here:

https://github.com/moby/moby/issues/11815

or here:

https://stackoverflow.com/questions/33054369/how-to-change-t...

so redhat's podman clone of docker allows this:

https://halukkarakaya.medium.com/how-to-configure-default-se...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: