How to add DNS / FQDN when deploying via docker compose

Christian Becker 1 Reputation point

Hi There,

I wan't to deploy a simple app with multiple containers to azure container instances using docker compose.

But how can I set the FQDN to make the containers available? I found some documentation on how to set it for a single container but no docs for docker compose.

Would be great to get some help


Azure Container Instances
Azure Container Instances
An Azure service that provides customers with a serverless container experience.
663 questions
{count} votes

1 answer

Sort by: Most helpful
  1. vipullag-MSFT 25,446 Reputation points

    @Christian Becker

    Welcome to Microsoft Q&A Platform, thanks for posting your query here.

    If you are looking deploying multi-container ACI, then you can have only one FQDN for the container group. Containers themselves cannot have FQDNs. You can have different containers listening on different ports on the container group's IP address (in turn the FQDN).

    You can't have multiple FQDNs for containers in the same container group. FQDN is supported only at the container group level.





    Hope that helps.
    Please 'Accept as answer' if it helped, so that it can help others in the community looking for help on similar topics.

    2 people found this answer helpful.