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)
56449
11.01.2020 21:11
- SMTP server on VPS and port 25 opening
47141
10.12.2025 13:59
- Mumbai VPS data-center availability
44733
23.12.2025 04:48
- Nameserver for my vps
44204
07.08.2018 11:35
- Remote access to MySQL database
43119
16.01.2018 15:29
- VPS stuck in “Saving…” for over 24 hours – No SSH, No KVM, No Rescue
41408
10.01.2026 22:36
- Advice on products to run a simple website + CMS.
38526
07.01.2026 14:58
- VPS login and password not accepted. Reboot in Rescue Mode results in root and temp password not being accepted
36413
15.01.2026 20:04
- Change server location
35775
06.11.2020 10:16
- Redirect domain to vps
35728
03.01.2018 22:32