Este contenido no está disponible en el idioma seleccionado.

Chapter 7. Configuring the Podman CNI to use IPv6


In some cases, you might want to run a local instance of Red Hat Quay to use IPv6. This setup is common for development or testing purposes.

By default, the Podman network for a root user does not use IPv6, and instead defaults to use IPv4. You can configure the Podman Container Network Interface (CNI) to use both IPv4 and IPv6, which allows for a local instance of Red Hat Quay using IPv6.

Additional resources

7.1. Creating a dual-stack container network

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.

7.2. Deploying a local instance of Red Hat Quay in IPv6

After you have created a new dual-stack container network, you can deploy a local instance of Red Hat Quay.

Prerequisites

  • You have configured Redis, your PostgreSQL database, local image storage, and creating a config.yaml file with the desired settings.

Procedure

  1. In your Red Hat Quay config.yaml file, set the FEATURE_LISTEN_IP_VERSION field to IPv6. For example:

    # ...
    FEATURE_LISTEN_IP_VERSION: dual-stack
    # ...
  2. Enter the following command to start the Quay registry container, specifying the appropriate volumes for configuration data and local storage for image data. Note that if you are using dual-stack, you must specify explicit IPv6 port mapping when starting the container.

    $ sudo podman run -d --rm -p "[::]:80:8080" -p "[::]:443:8443"  \
       --name=quay \
       -v $QUAY/config:/conf/stack:Z \
       -v $QUAY/storage:/datastorage:Z \
       registry.redhat.io/quay/quay-rhel9:v3.15.3
Red Hat logoGithubredditYoutubeTwitter

Aprender

Pruebe, compre y venda

Comunidades

Acerca de la documentación de Red Hat

Ayudamos a los usuarios de Red Hat a innovar y alcanzar sus objetivos con nuestros productos y servicios con contenido en el que pueden confiar. Explore nuestras recientes actualizaciones.

Hacer que el código abierto sea más inclusivo

Red Hat se compromete a reemplazar el lenguaje problemático en nuestro código, documentación y propiedades web. Para más detalles, consulte el Blog de Red Hat.

Acerca de Red Hat

Ofrecemos soluciones reforzadas que facilitan a las empresas trabajar en plataformas y entornos, desde el centro de datos central hasta el perímetro de la red.

Theme

© 2026 Red Hat
Volver arriba