k3d-io / k3d

Little helper to run CNCF's k3s in Docker
https://k3d.io/
MIT License
5.5k stars 463 forks source link

[BUG] Unable to create Cluster with Podman in MacOS but works fine with Docker #1388

Open KarthikRajashekaran opened 11 months ago

KarthikRajashekaran commented 11 months ago

What did you do

podman system connection list
Name                         URI                                                         Identity                                                             Default
podman-machine-default       ssh://core@127.0.0.1:55878/run/user/503/podman/podman.sock  /Users/abc.com/.ssh/podman-machine-default  true
podman-machine-default-root  ssh://root@127.0.0.1:55878/run/podman/podman.sock           /Users/abc.com/.ssh/podman-machine-default  false
echo $DOCKER_HOST
unix:///Users/abc.com/.local/share/containers/podman/machine/qemu/podman.sock

sudo --preserve-env=DOCKER_HOST k3d cluster create --registry-use k3d-myregistry.localhost:12345 -c k3d.yaml --wait

What did you expect to happen

The cluster should be created

image

Which OS & Architecture

Running MacOS

arch: amd64
cgroupdriver: systemd
cgroupversion: "2"
endpoint: /var/run/docker.sock
filesystem: xfs
infoname: localhost.localdomain
name: docker
os: fedora
ostype: linux
version: 4.7.2

Which version of k3d

k3d version v5.6.0
k3s version v1.27.4-k3s1 (default)

Which version of podman

podman version 4.8.2

thpang commented 1 day ago

Any activity or solutions for this one? Still running into the same issue almost 1 year later. Thx.