Skip to content

Insecure private registry #679

@maitredede

Description

@maitredede

Describe the problem to be solved

I have a private local registry (http only) that I have configured with a hosts.toml file. When starting spegel, this configuration is removed.

/etc/containerd/certs.d/myhost.local/hosts.toml :

server = "http://myhost.local"

[host."http://myhost.local:80"]
capabilities = ["pull", "resolve", "push"]
skip_verify = true

Proposed solution to the problem

  • One solution would be to add a way to skip domains so folder is not handled --skip-domain=myhost.local

  • One other solution would be to have a way to set some registry options and generate corresponding configuration. For example `--registry "http://myhost.local:80"=skip_verify=true"

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions