Hi Christopher,

your podman version is very old. I recommend updating to a more recent version, the network support has improved significantly. With podman version 3.2 you are also able to use it as rootless.

Paul 

On Wed, Nov 24, 2021 at 3:16 PM Christopher.Miller@gd-ms.com <Christopher.Miller@gd-ms.com> wrote:

 

I’m running Podman version 1.4.2-stable2 on RHEL 8.1.  Any basic network commands that I try and run fail via sudo/non-sudo.  Not sure why.

 

sudo podman network create

Error: unrecognized command ‘podman network’

Try ‘podman –help’ for more information

 

 

sudo podman network ls

Error: unrecognized command ‘podman network’

Try ‘podman –help’ for more information

 

 

Also if I run podman –help | grep “network” , there are two options that are returned:

 

--cni-config-dir

--network-cmd-path

 

 

However there is a directory under /etc/cni/net.d with a file by the name of 87-podman-bridge.conflist.  If I run container as rootfull, it gets its IP address from here.  Do I have to modify this file manually to setup different networks?

 

Thanks

 

 

 

_______________________________________________
Podman mailing list -- podman@lists.podman.io
To unsubscribe send an email to podman-leave@lists.podman.io