c3d / ociplex

An OCI runtime multiplexer
0 stars 0 forks source link

Warning about CNI configuration file #5

Open c3d opened 1 year ago

c3d commented 1 year ago

Running the following command:

# podman --runtime $PWD/run-kata run -it  fedora bash

I get a warning from podman that looks like this:

WARN[0000] Error loading CNI config file /etc/cni/net.d/200-loopback.conflist: error parsing configuration list: no name
c3d commented 1 year ago

The default content for /etc/cni/net.d/200-loopback.conflist is the following:

{
    "cniVersion": "1.0.0",
    "type": "loopback"
}

Changed it to:

{
    "name": "loopback",
    "nameAddedBy": "DDD",
    "cniVersion": "1.0.0",
    "type": "loopback",
    "plugins": [
        {
            "type": "loopback"
        }
    ]
}