Skip to content
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

fix: add --tls-verify=false flag to docker push #59

Closed
wants to merge 1 commit into from

Conversation

vimalk78
Copy link

added --tls-verify=false flag to docker push
without this flag getting error

Getting image source signatures
Error: trying to reuse blob sha256:<xyz> at destination: pinging container registry localhost:5001: Get "https://localhost:5001/v2/": http: server gave HTTP response to HTTPS client

@rootfs rootfs requested a review from sthaha March 3, 2024 17:43
@@ -96,7 +96,7 @@ _load_prometheus_operator_images_to_local_registry() {
updated_image="$(_trim_prometheus_operator_image "$img")"
$CTR_CMD pull "$img"
$CTR_CMD tag "$img" "localhost:5001/$updated_image"
$CTR_CMD push "localhost:5001/${updated_image}"
$CTR_CMD push "localhost:5001/${updated_image}" --tls-verify=false
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this works, I suspect something else to to be the solution because the flag seem invalid.

docker help 
...
      --tls                Use TLS; implied by --tlsverify
      --tlsverify          Use TLS and verify the remote

Are you using docker ?

@vimalk78 vimalk78 closed this Mar 5, 2024
@vimalk78 vimalk78 deleted the minor-fix branch March 5, 2024 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants