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
docker ps -f name=mycluster-registry
docker pull alpine:latest
docker tag alpine:latest mycluster-registry:12345/testimage:local
docker push mycluster-registry:12345/testimage:local
> Get https://mycluster-registry:12345/v2/: dial tcp: lookup mycluster-registry on 8.8.4.4:53: no such host
docker tag alpine:latest localhost:12345/testimage:local
docker push localhost:12345/testimage:local
kubectl run --image localhost:12345/testimage:local testimage --command -- tail -f /dev/null
kubectl get pod
> testimage 0/1 ErrImagePull 0 2s
kubectl delete pod testimage
kubectl run --image mycluster-registry:12345/testimage:local testimage --command -- tail -f /dev/null
kubectl get pod
> testimage 1/1 Running 0 3s
What did you expect to happen
I expected to be able to tag the image with the registry name, but instead had to use localhost
Screenshots or terminal output
docker push mycluster-registry:12345/testimage:local
> Get https://mycluster-registry:12345/v2/: dial tcp: lookup mycluster-registry on 8.8.4.4:53: no such host
Which OS & Architecture
Linux DaringLion 5.4.0-90-generic #101-Ubuntu SMP Fri Oct 15 20:00:55 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Which version of k3d
k3d version v5.1.0
k3s version v1.21.5-k3s2 (default)
Which version of docker
docker version
Client:
Version: 20.10.7
API version: 1.41
Go version: go1.13.8
Git commit: 20.10.7-0ubuntu5~20.04.2
Built: Mon Nov 1 00:34:17 2021
OS/Arch: linux/amd64
Context: default
Experimental: true
Server:
Engine:
Version: 20.10.7
API version: 1.41 (minimum version 1.12)
Go version: go1.13.8
Git commit: 20.10.7-0ubuntu5~20.04.2
Built: Fri Oct 22 00:45:53 2021
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.5.5-0ubuntu3~20.04.1
GitCommit:
runc:
Version: 1.0.1-0ubuntu2~20.04.1
GitCommit:
docker-init:
Version: 0.19.0
GitCommit:
nwithers-ecr
changed the title
[BUG] Local registry not behaving as expected
[BUG] Local registry cannot be refered to by name outside of k3d cluster
Nov 18, 2021
iwilltry42
changed the title
[BUG] Local registry cannot be refered to by name outside of k3d cluster
[HELP] Local registry cannot be refered to by name outside of k3d cluster
Nov 29, 2021
Note: the special Preface section was just added recently, as before this section was in an info box a bit further down on that page, so now it's more prominent 👍
What did you do
How was the cluster created?
k3d cluster create mycluster --registry-create mycluster-registry
What did you do afterwards?
What did you expect to happen
I expected to be able to tag the image with the registry name, but instead had to use localhost
Screenshots or terminal output
Which OS & Architecture
Which version of
k3d
Which version of docker
docker version
docker info
The text was updated successfully, but these errors were encountered: