Feature request: Add support for "slirp4netns" networking to allow local image registry connectivity with KIND. #13683
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind feature
Description
I'm trying to create a local repository on my machine to store images for containers. Then use the local image repository with Kubernetes IN Docker (KIND) in this case Kubernetes IN Podman. However, when I try to connect the local registry to KIND's network, in order to be able to pull images, it fails. The error message is
Error: "slirp4netns" is not supported: invalid network mode
.Steps to reproduce the issue:
sudo mkdir -p /var/lib/registry
podman run --privileged -d --name registry -p 5000:5000 -v /var/lib/registry:/var/lib/registry --restart=always registry:2
go install sigs.k8s.io/[email protected]
KIND_EXPERIMENTAL_PROVIDER=podman kind create cluster
podman network connect kind registry
Describe the results you received:
Error: "slirp4netns" is not supported: invalid network mode
Describe the results you expected:
No error and be then able to pull images from the local registry
Additional information you deem important (e.g. issue happens only occasionally):
Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/main/troubleshooting.md)
No
Additional environment details (AWS, VirtualBox, physical, etc.):
The text was updated successfully, but these errors were encountered: