Sign inSign up

ligfx/k3d-registry-dockerd

By ligfx

•Updated about 1 year ago

k3d registry that proxies all image requests to the host dockerd process

Image
Developer tools
0

100K+

ligfx/k3d-registry-dockerd repository overview

⁠k3d-registry-dockerd

Provides an OCI Distribution Spec⁠-compliant(ish) registry that proxies all requests to a dockerd process on the same system.

Source available at github.com/ligfx/k3d-registry-dockerd⁠

⁠Why?

Mainly for use with k3d⁠. I got frustrated with k3d running into rate limits pulling images from docker.io everytime, since it can't use the local Docker image cache directly. k3d-registry-dockerd can be used by k3d and will transparently use your local Docker image cache, preventing rate limiting issues and potentially speeding up your Pod deploys.

⁠Usage

Run k3d like this:

configfile=$(mktemp)
cat << HERE > "$configfile"
apiVersion: k3d.io/v1alpha5
kind: Simple
registries:
  create:
    image: ligfx/k3d-registry-dockerd:latest
    proxy:
      remoteURL: "*"
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
HERE
k3d cluster create mytest --config "$configfile"

Tag summary

Content type

Image

Digest

sha256:3c3f1eaa8…

Size

13.8 MB

Last updated

about 1 year ago

docker pull ligfx/k3d-registry-dockerd