This message was deleted.
# k3s
a
This message was deleted.
r
Do you mean rootless from the stance of the host or inside the Docker container? K3D installs K3S (as root) inside a Docker container but from the host stance as long as you're in the docker group you can use it. K3S doesn't use Docker for a native install as I recall, so I'm assuming you meant K3S inside a Docker container.
r
I'm referring to rootless from the host. As in running rootless and passing the
--docker
flag. I've tried the
--docker
flag on a rootless install but it has issues and I haven't been able to figure out why. Since it's experimental I'm kind of assuming it doesn't work
r
I assume the user you're running as is in the docker group? If K3D (which has their own channel here too) doesn't solve what you need, I can't say I know anything to help past basic debugging. I've never used K3S native and wasn't even aware it'd run on Docker.
(I've done more with RKE2 native)
r
I'm more experimenting right now to see what's possible and I'm not particularly interested in K3D for what I'm doing now. Thank you for the help though!
r
Is there a reason you need Docker? Kubernetes itself has gone away from Docker, so to some extent any Kubernetes distro with Docker will be at least a little awkward. I think I'd probably try with the normal containerd/crio and see if I could get what I need from ctr/crictl/nerdctl . If I recall correctly these RKE2 commands from https://gist.github.com/superseb/3b78f47989e0dbc1295486c186e944bf could be tweaked for K3S, and I've got this K3S etcd commands link ( https://gist.github.com/superseb/0c06164eef5a097c66e810fe91a9d408 ) bookmarked too, though I don't remember what was there.
👍 2