Comments (6)
@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.
This feature is a must have!
from k3d.
+1 for this
from k3d.
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.
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.
Closed via #161 and follow-up changes
from k3d.
Related Issues (20)
- [BUG] node stops working with external k3s cluster if K3D_FIX_MOUNTS is used
- [BUG] removal of container k3d-tools is already in progress when adding nodes with replicas
- [BUG] Can't create a cluster on a LUKS filesystem
- [BUG] k3d registry create + cluster create --network host --registry use don't seem to work together HOT 1
- [QUESTION/HELP] How to use k3d-managed registry as a pull-through-cache registry for docker hub HOT 9
- [BUG] The entrypoint script in an agent node continuously fails at the line `until kubectl uncordon "$HOSTNAME"; do sleep 3; done` as KUBECONFIG not set
- [QUESTION/HELP] :Unable to Create Kubernetes Cluster using k3d on NixOS HOT 4
- [BUG] go module v5.6.2 verifying module: checksum mismatch HOT 3
- [BUG] Failing to create cluster on Windows with podman (wsl) HOT 2
- [BUG] K3d on Arch Linux with Rootless Podman - Failed to create cluster HOT 2
- [BUG] In the WSL2 environment, when mapping all files to the local environment, cluster creation gets stuck, the k3d-clustername-serverlb container fails to start, and the log shows that the '/etc/confd/values. yaml' file cannot be found
- [QUESTION/HELP] Exposing multiple services through ingress requires the use of a host for layer seven routing. How to configure it in the k3d environment? Are there any relevant examples HOT 1
- [BUG] Cluster create fails while using rootless podman HOT 1
- [QUESTION/HELP] Cannot enable DNS fix, as Host Gateway IP is missing HOT 11
- [QUESTION/HELP] k3d script k3d-entrypoint-dns.sh might have a problem HOT 1
- [BUG] Fail to create cluster on rootful podman macos
- Delete
- [BUG] New Cluster stuck on ContainerCreating HOT 7
- Is there any way to see a list of images within my k3d registry?
- [BUG] Unable to start a stopped multi-server cluster
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from k3d.