Question on network commands with Podman
by Christopher.Miller@gd-ms.com
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