genuinetools / img

Standalone, daemon-less, unprivileged Dockerfile and OCI compatible container image builder.
https://blog.jessfraz.com/post/building-container-images-securely-on-kubernetes/
MIT License
3.88k stars 230 forks source link

Missing --insecure-registry flag for "login" command #278

Closed isikemre closed 4 years ago

isikemre commented 4 years ago

There is already a PR for this and someone already created this flag for the push command, but the login command needs it too. Because I cannot login into my insecure local registry it says x509: certificate signed by unknown authority.

The PR I mentioned above is: https://github.com/genuinetools/img/pull/258

I hope this PR gets into the code 👍

kekoav commented 4 years ago

@isikemre if you do in fact have a self-signed certificate, you can add that to your ca-certificate store in Linux.

isikemre commented 4 years ago

@kekoav Yeah, I already did that, but that feature for img would be nice, too. We can close this issue, thx!