Welcome to the Linux Foundation Forum!

LAb 8.2 Podman networking

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

  • Posts: 24
    edited January 2022

    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?

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

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training