You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Planning failed. Terraform encountered an error while generating this plan.
╷
│ Error: Got error when attempting to fetch image version <username>/<image_name>:<image_tag> from registry: Got bad response from registry: 401 Unauthorized
│
│ with module.kubernetes.data.docker_registry_image.frontend,
│ on modules/kubernetes/docker.tf line 29, in data "docker_registry_image" "frontend":
│ 29: data "docker_registry_image" "frontend" {
I've replaced real parameters with /<image_name>:<image_tag> for demonstration purposes.
I've tried https://index.docker.io/v1/, registry-1.docker.io, registry.hub.docker.com, and many other registries without any luck. It's getting frustrating at this point.
Has anybody had any luck with pulling official Docker Hub private images?
The text was updated successfully, but these errors were encountered:
Curious about this as well. I've had trouble using the full docker.io/some-namespace/some-image:tag.
example:
# works finedata"docker_registry_image""coredns" {
name="coredns/coredns:1.11.1"
}
# doesn't work even though `docker pull` works on command linedata"docker_registry_image""coredns" {
name="docker.io/coredns/coredns:1.11.1"
}
contrast with ghcr.io/some-namespace/some-image:tag working fine. Is there some special behavior with docker.io is involved?
I have been trying to authenticate and access the latest tag of a private Docker Hub registry image without any luck for a couple of days now.
Planning failed. Terraform encountered an error while generating this plan.
I've replaced real parameters with /<image_name>:<image_tag> for demonstration purposes.
I've tried https://index.docker.io/v1/, registry-1.docker.io, registry.hub.docker.com, and many other registries without any luck. It's getting frustrating at this point.
Has anybody had any luck with pulling official Docker Hub private images?
The text was updated successfully, but these errors were encountered: