Use the following procedure to create a new container network that is dual-stack.
Procedure
-
Unless there is a requirement that the default container network use both IPv4 and IPv6, it is suggested that a new container network is created that is dual-stack. As a root user, create a new container network that is dual-stack by running the following command:
# podman network create ip-dual-stack --ipv6
With this command, new containers use this network are a natively dual-stack.