Git Product home page Git Product logo

Comments (6)

iwilltry42 avatar iwilltry42 commented on August 28, 2024 1

@d11wtq the k3s image that we use, doesn't work with the --docker flag, so that won't work unfortunately.
Instead of running a registry, you can use the import-images command to import pre-built images from your docker daemon into k3d.
Unfortunately, docker is using a different image storage format than containerd, so we cannot simply mount the image cache into k3d.

from k3d.

tux-00 avatar tux-00 commented on August 28, 2024 1

This feature is a must have!

from k3d.

matthiasak avatar matthiasak commented on August 28, 2024

+1 for this

from k3d.

d11wtq avatar d11wtq commented on August 28, 2024

Yeah I want to use k3d as an alternative to minikube, where you can docker build an image within minikube (via minikube docker-env) and Kubernetes can run that image because it's already present. Doesn't seem to be a way to get this working with k3d and Docker for Mac right now, aside from running a registry as detailed above? I tried using --server-arg --docker and mounting /var/run/docker.sock, but k3d then fails to create pods with Failed create pod sandbox: rpc error: code = Unknown desc = rewrite resolv.conf failed for pod ....

from k3d.

iwilltry42 avatar iwilltry42 commented on August 28, 2024

The very best news for us would be the success of this: moby/moby#38043
Making docker to use the containerd storage backend 👍
We could as well try to include something like BuildKit in k3d, which we could use for building inside k3d using e.g. k3d build image. Would require a shared caching/storage layer though to avoid having to build large images in each k3d node.

from k3d.

iwilltry42 avatar iwilltry42 commented on August 28, 2024

Closed via #161 and follow-up changes

from k3d.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.