Hacker News new | ask | show | jobs
by mattrick 1198 days ago
GitHub Container Registry is a decent option for orgs, open source and private. I believe it's free to host public images and private images are just tied into your GitHub billing.
1 comments

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...