by m463 · 5y ago · 0 comments
Like a first class way to start with
FROM scratch
and a way to configure it to pull only from a local, private registry.It seems docker (the company) has actively worked against this. The redhat versions allow configuring a private registry, but they don't worry about pissing off docker.
> and a way to configure it to pull only from a local, private registry.
One can set up an air-gapped environment with access to a private container registry only.
I think they should allow people to configure docker to be local, and allow some safer or maybe less promiscuous ways to use it (and it also goes around the ubuntu firewall)
https://stackoverflow.com/questions/33054369/how-to-change-t...
which led to this:
https://github.com/moby/issues/7203
and this comment:
It turns out this is actually possible, but not using the genuine Docker CE or EE version.
You can either use Red Hat's fork of docker with the "--add-registry" flag or you can build docker from source yourself with registry/config.go modified to use your own hard-coded default registry namespace