Comments (3)
Update:
On another machine got this error:
# ./bin/kpod ps
ERRO[0000] error updating cni config: Missing CNI default network
ERRO[0000] Missing CNI default network
ERRO[0000] no such file or directory
ERRO[0000] CNI monitoring error <nil>
error creating libpod runtime: database schema version 2 does not match our schema version 4: database configuration mismatch
for this deleted the file
# cd /var/lib/containers/storage/libpod/
# ls
lock ocispec state.sql
# rm state.sql
rm: remove regular file 'state.sql'? y
Now seeing the original issue:
# ./bin/kpod ps
ERRO[0000] error updating cni config: Missing CNI default network
ERRO[0000] Missing CNI default network
ERRO[0000] no such file or directory
ERRO[0000] CNI monitoring error <nil>
from podman.
Following steps from https://github.com/kubernetes-incubator/cri-o/blob/master/tutorial.md#cni-plugins
go get -d github.com/containernetworking/plugins
cd $GOPATH/src/github.com/containernetworking/plugins
./build.sh
sudo mkdir -p /opt/cni/bin
sudo cp bin/* /opt/cni/bin/
sudo mkdir -p /etc/cni/net.d
sudo sh -c 'cat >/etc/cni/net.d/10-mynet.conf <<-EOF
{
"cniVersion": "0.2.0",
"name": "mynet",
"type": "bridge",
"bridge": "cni0",
"isGateway": true,
"ipMasq": true,
"ipam": {
"type": "host-local",
"subnet": "10.88.0.0/16",
"routes": [
{ "dst": "0.0.0.0/0" }
]
}
}
EOF'
sudo sh -c 'cat >/etc/cni/net.d/99-loopback.conf <<-EOF
{
"cniVersion": "0.2.0",
"type": "loopback"
}
EOF'
I got it working again!
from podman.
Just for the record, I am working on a PR #142 will fix this as it will install the needed cni configs.
from podman.
Related Issues (20)
- Podman fail to autostart containers through quadlet/systemd, works when launched manually, error with pasta HOT 5
- Unconsumed build args warning when using base image with ONBUILD instructions HOT 4
- Container won't run HOT 3
- support this ? https://github.com/Mirantis/cri-dockerd HOT 2
- pod crashes running apt update HOT 5
- qemu machine disappears after upgrade to 5.0.0 HOT 4
- podman 5.0.0 running as root inside systemd-nspawn containers with user namespacing overmounts the system-wide `/run` directory HOT 13
- Use of CDI does not consume labeled devices during build HOT 1
- Strange issue connecting to a container bound to [::] HOT 11
- Volume mount to existing path with chown HOT 1
- [v4.9]`VM does not exist` error with podman machine ssh command HOT 2
- vfkit exited unexpectedly (invalid virtual machine configuration) HOT 9
- Podman rootless container with a custom network succeeds or fails based on which home directory the user has HOT 3
- Wrong permissions on idmapped volumes created before starting the container when container-dir does not exist HOT 1
- Manpage for podman-systemd.unit includes incomplete advice which can lead to unexpected behavior HOT 1
- Podman container cannot access port on Windows host HOT 4
- podman generate systemd doesn't put "-d" / "--detach" when "-p53:53/udp" is specified without a space HOT 7
- Cannot mount a volume when using another WSL2 distribution HOT 1
- Error: machine did not transition into running state: ssh error: machine not in running state HOT 8
- Unable to Create First Machine with New Download on Windows HOT 5
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.