I'm trying to run (as root) the simplest Podman command on my VPS in order to see if it works:
podman --storage-driver=vfs run -it --rm alpine echo hello
But this command gives me the error:
ERRO[0008] Error adding network: failed to create bridge "cni0": could not add "cni0": permission denied
ERRO[0008] Error while adding pod to CNI network "podman": failed to create bridge "cni0": could not add "cni0": permission denied
Error: error configuring network namespace for container e7c84c1241a5f80864c7c23bae2dfbee43449ab261417c309dac30730b4aa739: failed to create bridge "cni0": could not add "cni0": permission denied
Anyway, as I cannot be more privileged than root, why do I get the "permission denied" error? I'm supposing that it's because of the shared kernel between virtual machines, but I don't know how to get around/fix this error.
Now, I'm running this on a 2014 VPS, but I use this old VPS as a testbed for my 2018 production VPS, so maybe the 2018 VPS has a kernel configured differently than the 2014 VPS, so while Podman does not work on the 2014 VPS, it does not necessarily mean that it will not work on a 2018 VPS. I just don't want to mess with the production machine to find that out.
So my question is:
Has anyone been able to run Podman containers on a VPS and how?
Thank you.
Error running a Podman container on a Centos 7 VPS
Related questions
- Installing Operating System from custom image on OVH VPS ( CentOS 8 Tutorial)
9623
11.01.2020 21:11
- Remote access to MySQL database
4967
16.01.2018 15:29
- Nameserver for my vps
4667
07.08.2018 11:35
- Upgrading your VPS - need to extend your disk? The Easy way!
4645
14.02.2019 16:06
- Redirect domain to vps
4493
03.01.2018 22:32
- IPv6 Configuration
4275
30.07.2018 12:50
- Change server location
4028
06.11.2020 10:16
- Not able to connect to my server at all
3619
17.09.2020 19:56
- How to OVH Firewall and VPN
3581
29.10.2019 12:16
- Test latency of EU data centers
2828
30.01.2019 20:50