Comments (3)
I verified that the CNI configuration file does not exist within the minimal podman image.
However podman creates the file (/etc/cni/net.d/87-podman.conflist
when run as root or /podman/.config/cni/net.d/87-podman.conflist
when run as podman
user) if it does not exist which results in the warning you mentioned. Unfortunately I cannot prevent podman from trying to load CNI plugins because an empty plugin list within that file is not allowed.
Adding the CNI plugins to the minimal image does not make sense because within the minimal image podman/crun is configured to not create network namespaces that could be configured with CNI.
Therefore I think it would be best to create a corresponding issue within the upstream podman repository to prevent podman from generating that file when network namespaces are disabled.
from podman-static.
Hi @wangjia184, thanks for reporting the issue!
Which image and version are you using?
Also please send the podman command that you're calling.
I guess you're using the mgoltzsche/podman:3.4.2-minimal
image. This image does not contain CNI plugins. This is to have a smaller image with low isolation and no network namespaces for child containers (instead they're using the parent container's network namespace).
If you need a dedicated network namespace per container, please consider using the mgoltzsche/podman:3.4.2
image which comes with CNI plugins.
from podman-static.
I am closing this issue since I hope it has been resolved within the upstream repo and otherwise I cannot do something about it within this repo anyway.
from podman-static.
Related Issues (20)
- container-init binary not found on the host: stat /usr/libexec/podman/catatonit: no such file or directory HOT 14
- Include journald in compilation path to log to systemd journal HOT 1
- setting /etc/subuid and /etc/subgid doesn't work well on enterprise systems that use FreeIPA HOT 6
- podman in podman without privileged not work HOT 2
- podman v4.5.1 released HOT 3
- podman v4.6.0 released HOT 2
- Can't limit memory for nested container HOT 1
- cannot clone: Operation not permitted HOT 3
- Is the above version of podman consistent with this link(https://github.com/containers/podman/tree/v4.8.2) HOT 1
- about crun/catatonit HOT 4
- about crun-linux-amd64-disable-systemd HOT 1
- about storage.conf HOT 2
- Deploying ceph, using podman4.8.2, error messag HOT 2
- Add netavark and aardvark-dns HOT 4
- Missing default seccomp profile? HOT 3
- missing the crun binary HOT 5
- nonroot binary install HOT 4
- Newest release does not contain binaries HOT 2
- User IDs instead of user names in subuid/subgid doesn't work in AD environment HOT 2
- Add Appimage build
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 podman-static.