skip to Main Content

i’m tryng to use podman in Centos 8. After installing podman with command dnf install podman i have started my first container with success.

Now i want to create a network like in old docker environment with command podman network create but obtain:

Command “network” not found.
See podman --help.

2

Answers


  1. You are most likely running an old version then, the network commands have been added in Podman 1.6.0:

    The podman network create, podman network rm, podman network inspect, and podman network ls commands have been added to manage CNI networks used by Podman

    You can verify which version you are running with podman --version.

    Login or Signup to reply.
  2. All networks commands are available current Podman version.
    To create network podman network create network_name
    Show all available network podman network ls
    Show network details podman network inspect network_name
    To remove network podman network rm network_name

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search