Welcome to the Linux Foundation Forum!

LAb 8.2 Podman networking

Options

Noticed and error whenI run a container attached to mynet network there is no IP assigned to it randomly from that network:


podman container run -d --name mywebmynet --net mynet nginx

podman container inspect mywebmynet


{....

"Gateway": "",
"IPAddress": "",
....

}

Then I try running a container attached to a containers network namespace and get no space left on device


podman container run -d --name mywebnamespace --net container:mywebmynet nginx Error: error creating container storage: error creating read-write layer with ID "b9ce65d55ff3b093edd5307d4529e5bbf3bc72c6a0b73481fcca296f7e77b9e7": no space left on device

What makes it so that there is no space and no ip randomly assigned; here is the history


1445 podman container run -d --name mywebmynet --net mynet nginx
1446 podman container inspect mywebmynet
1447 podman container run -d --name mywebnamespace --net container:mywebmynet nginx

1448 clear

Comments

  • devdorrejo
    devdorrejo Posts: 24
    edited January 2022
    Options

    to see how much podman is consuming: podman system df
    Compare with how much space you have left: df -h

    and which process did you do to create mynet?

  • thomas2020
    Options

    I am having a similar problem, however, I am not getting any error message. It just does not assign the IP address.

Categories

Upcoming Training