regclient / regclient

Docker and OCI Registry Client in Go and tooling using those libraries.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Question] Unable to set --tls=disabled on my private registry

SanadhyaLakshya opened this issue · comments

While running the command on my registry

Command : regctl registry set --tls=disabled test.setup.svc:5000

i am getting : mkdir /.regctl: permission denied

Is there any way to give a specific path to regctl or how i can set the tls to disabled

By default, regctl and the other commands use the user's home directory, specified by the $HOME environment variable. That location can be overridden by setting the $REGCTL_CONFIG variable to the path and filename you'd prefer. For one-off commands, there is an option to specify host parameters directly on the CLI with:

regctl --host reg=test.setup.svc:5000,tls=disabled tag ls test.setup.svc:5000/repo

This issue is stale because it has been open for 60 days waiting for feedback. It will be automatically closed in 28 days.

This issue was closed because it has been inactive for 28 days since being marked as stale.