You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
k3d registry create --default-network podman mycluster-registry
The k3d registry create step has failed
Error
INFO[0000] Creating node 'k3d-mycluster-registry'
WARN[0000] Failed to get runtime information: docker failed to provide info output: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
WARN[0000] Failed to get network information: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
FATA[0000] Failed to create registry: failed to create registry node 'k3d-mycluster-registry': runtime failed to create node 'k3d-mycluster-registry': failed to create container for node 'k3d-mycluster-registry': docker failed to create container 'k3d-mycluster-registry': Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
When working with Dockert below steps works fine
--Build the Airflow Image with DockerFile
docker build . -t apache/airflow:2.3.3
--Setup a local image registry to load airflow image
k3d registry create myregistry.localhost --port 12345
--Upload Airflow image to a local image registry
docker tag apache/airflow:2.3.3 k3d-myregistry.localhost:12345/apache/airflow:2.3.3
docker push k3d-myregistry.localhost:12345/apache/airflow:2.3.3
--Add registry to local knows hostnames
Usually at /etc/hosts
127.0.0.1 k3d-myregistry.localhost
k3d cluster create --registry-use k3d-myregistry.localhost:12345 -c k3d.yaml --wait
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am moving away from Docker to Podman, so have uninstalled Docker desktop in Mac
Performed below steps
podman build --format=docker -t apache/airflow:2.3.3 .
k3d registry create --default-network podman mycluster-registry
The k3d registry create step has failed
Error
When working with Dockert below steps works fine
Beta Was this translation helpful? Give feedback.
All reactions