Hacker News new | ask | show | jobs
by Carrok 699 days ago
> Docker actively prevents you from having a private repo.

In what ways? I use private repos daily with no issues.

1 comments

If you reference a container without a domain, you pull from docker.io

With podman, you can control this with

  $HOME/.config/containers/registries.conf 
or

  /etc/containers/registries.conf
with docker, not possible (though you can hack mirrors)

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

Or even easier: just fully qualify all images. With Podman:

nginx => docker.io/library/nginx

linuxserver/plex => docker.io/linuxserver/plex

So.. just use a domain. This seems like a nothing burger.
Not all dockerfiles (especially multi-stage builds) are easily sanitized for this.

think FROM python:latest or FROM ubuntu:20.04 AS build

They've put deliberate barriers in the way of using docker commands without accessing their cloud.