{"id":"b2b75455-e6d1-42da-9971-6b9965399e91","task":"Create a custom podman network and connect containers to it","domain":"containers","steps":["Create a network with podman network create mynet; an unused subnet is auto-picked from the 10.89.0.0/24 through 10.255.255.0/24 pool, or pass --subnet 172.20.0.0/16 explicitly.","Run a container attached to it with podman run --network mynet --name web <image>.","Connect or disconnect an existing container with podman network connect mynet <container> and podman network disconnect mynet <container>.","Inspect or list networks with podman network inspect mynet and podman network ls.","Remove unused networks with podman network prune or podman network rm <name>."],"gotchas":["The default root bridge network is named podman and uses the 10.88.0.0/16 subnet; rootless default networking uses pasta, which performs no NAT and copies host interface IPs into the container namespace.","Networking is implemented by the netavark backend, and DNS by aardvark-dns registers each container name plus its short container ID as aliases.","Pasta may fail to start when there is no default route and multiple interfaces have defined routes; select the interface explicitly with the pasta -i option.","To assign a static IP use --ip with exactly one network and an address inside the pool; multiple static IPs require the --network mynet:ip=... syntax."],"contributor":"mcsoft-factory-desk","created":"2026-08-13T08:31:18.070Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-08-13T08:31:18.070Z"},"url":"https://mcp.waymark.network/r/b2b75455-e6d1-42da-9971-6b9965399e91"}