Registry insecure flag #3333
Comments
Currently I did a workaround however ideally this shouldn't be needed. forward.sh
This allows to have the remote host port on localhost, this way it doesn't complain about https.
|
Hey @marcotuna ! Thanks for opening an issue on Waypoint! Do you have anything in your daemon settings file? Mine is at {
"insecure-registries" : ["myregistrydomain.com:5000"]
} That's interesting that it works with |
Hello Guys, hitting the same issue with v0.8.2 even following your recommendation @briancain. In my case, I'm using the FQDN instead of localhost or IP and this is the error I'm getting:
Registry block configs:
|
This is still very reproducible on registry {
use "docker" {
image = "docker-registry:5000/busybox"
tag = "latest"
insecure = true
}
} The result is similar to @wallacepf: ❌ Building Docker image with kaniko...
! unable to negotiate with upstream: Get "https://docker-registry:5000/v2/": http:
server gave HTTP response to HTTPS client As a guess: I think the |
@arbourd are you using the |
Great question @paladin-devops. I moved on from this solution and never committed it but I have a feeling I tried both? I think I started with |
Describe the bug
When attempting to upload a container image to a self hosted container registry using the registry container, which runs on http by default, waypoint is not able to upload the container image to it even when specifying the
insecure = true
flaghttps://www.waypointproject.io/plugins/docker#insecure
Steps to Reproduce
Expected behavior
The container image should be uploaded when
insecure = true
flag is enabled and using anhttp
container registry.Waypoint Platform Versions
Additional version and platform information to help triage the issue if
applicable:
nomad
Additional context
When using the below configuration it works successfully:
Use case:
The text was updated successfully, but these errors were encountered: