-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
flag to allow insecure tls (ignore untrusted server cert) #21
Comments
There are currently no This is in line with how several other tools in this space behave: Please let me know if this doesn't work for you for some reason or if you need more infos. |
Understood - maybe this could be a feature request? |
Sure. Are there any particular reasons why making the self-signed cert trusted on the machine where you want to run docker-pushrm isn’t practical? And are you looking to pass the cert to the cli or are you just looking for a convenience |
A simple --allow-insecure would be perfect. The other option could be to pull from the global docker daemon.json file "insecure-registries" property? |
thanks, these are good thoughts, I will keep this open as a feature request |
Describe the problem or bug
I have an installation of harbor with a self-signed certificate. When trying to use pushrm I am getting an invalid cert (note: push works for the image as i have configured docker to ignore). Is there a way to tell pushrm to ignore the error as well?
docker-pushrm version
pushrm* Push Readme to container registry (Christian Korneck, 1.9.0)
Docker CLI version and platform
Client: Docker Engine - Community
Version: 20.10.17
API version: 1.41
Go version: go1.17.11
Git commit: 100c701
Built: Mon Jun 6 23:02:57 2022
OS/Arch: linux/amd64
Context: default
Experimental: true
Server: Docker Engine - Community
Engine:
Version: 20.10.17
API version: 1.41 (minimum version 1.12)
Go version: go1.17.11
Git commit: a89b842
Built: Mon Jun 6 23:01:03 2022
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.6.8
GitCommit: 9cd3357b7fd7218e4aec3eae239db1f68a5a6ec6
runc:
Version: 1.1.4
GitCommit: v1.1.4-0-g5fd4c4d
docker-init:
Version: 0.19.0
GitCommit: de40ad0
if possible: registry server version
self-hosted
harbor
version 2.0.0exact command that you're running
docker pushrm --debug myimage:latest --providerharbor2
debug output
The text was updated successfully, but these errors were encountered: