Giter Club home page Giter Club logo

Comments (15)

mtrmac avatar mtrmac commented on June 25, 2024

cc @baude

from skopeo.

runcom avatar runcom commented on June 25, 2024

Would it make sense to introduce a system-wide configuration file, perhaps /etc/containers/docker-registries.yaml, which allows per-registry and per-repository configuration, to be used by all of the tools if possible?

I would have loved Docker to have registries conf (ala git remote maybe) but that never happened and maybe it'll never happen..... sadly...

I'm all for this though and what you've highlighted sounds good to me 👍

from skopeo.

rhatdan avatar rhatdan commented on June 25, 2024

I like the idea.
@cgwalters WDYT?

from skopeo.

rhatdan avatar rhatdan commented on June 25, 2024

Docker not having a configuration file at this point is just nuts. Perhaps this was Solomon's idea to prevent other tools from easily understanding the configuration.

from skopeo.

runcom avatar runcom commented on June 25, 2024

That's probably it yeah..

from skopeo.

cgwalters avatar cgwalters commented on June 25, 2024

https://docs.docker.com/engine/reference/commandline/dockerd/#/linux-configuration-file or am I missing something?

from skopeo.

runcom avatar runcom commented on June 25, 2024

That's intended mainly for configurations that can be live reloaded. They do not intend (as the last time I talked to them) to store registries configuration options there and the configuration isn't widely used though.

from skopeo.

rhatdan avatar rhatdan commented on June 25, 2024

I did not realize that that was added. We really should start to move towards using this configuration file. Having docker-storage-setup edit this file and setting things like selinux-enabled/log-driver in here would be nice.
@rhvgoyal WDYT

from skopeo.

rhatdan avatar rhatdan commented on June 25, 2024

@lsm5 PTAL

from skopeo.

runcom avatar runcom commented on June 25, 2024

Please note that there are pitfalls with the config file when for instance a flag is both defined in the the config and via flag to dockerd. I never considered the config file for this and other reasons..

from skopeo.

rhatdan avatar rhatdan commented on June 25, 2024

Yes it looks like the dockerd will refuse to start, but we really want to start to minimize the use of /etc/sysconfig/docker, since we were really abusing this just because dockerd did not have a config file.

from skopeo.

mtrmac avatar mtrmac commented on June 25, 2024

/etc/containers/registries.d from #170 ( https://github.com/containers/image/blob/master/docs/registries.d.md ) is a start.

from skopeo.

rhatdan avatar rhatdan commented on June 25, 2024

👍

from skopeo.

TomasTomecek avatar TomasTomecek commented on June 25, 2024

Seems like this is done.

from skopeo.

mtrmac avatar mtrmac commented on June 25, 2024

Seems like this is done.

Not to the full extent, but https://github.com/containers/image/tree/master/pkg/sysregistriesv2 is basically it, yes.

from skopeo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.