From 97cd0baccf189cd1ae6bf3a6d9b8af275fd69892 Mon Sep 17 00:00:00 2001 From: Guillaume Tardif Date: Thu, 25 Jun 2020 09:31:19 +0200 Subject: [PATCH 1/2] Changelog: added limitation related to compose name resolution with /etc/hosts --- CHANGELOG.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 68b03f6..ead5bdb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -30,12 +30,15 @@ First public beta release of the Docker CLI with integration! This release includes: + * Initial support for deploying containers and Compose applications to Azure Container Instances (ACI) * A gRPC API for managing contexts and Azure containers ### Known issues + * Mapping a container port to a different host port is not supported in ACI (i.e.: `docker run -p 80:8080`). You can only expose the container port to the same port on the host. * Exec currently only allows interactive sessions with a terminal (`exec -t`), not specify commands in the command line. * `docker run` detaches from the container by default, even if `-d` is not specified. Logs can be seen later on with command `docker log `. * Replicas are not supported when deploying Compose application. One container will be run for each Compose service. Several services cannot expose the same port. -* Windows Containers are not supported on ACI in multi-container compose applications. \ No newline at end of file +* Name resolution between Compose services is done through /etc/hosts file. Some technical stacks ignoring /etc/hosts will not be able to resolve Compose service names within a Compose application. +* Windows Containers are not supported on ACI in multi-container compose applications. From c6bb2645b018a9a8f0e0b49f7fc490902f4dad6b Mon Sep 17 00:00:00 2001 From: Guillaume Tardif Date: Thu, 25 Jun 2020 09:39:14 +0200 Subject: [PATCH 2/2] Changelog: known error when running `docker-compose` with ACI contexts --- CHANGELOG.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ead5bdb..f389d27 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -40,5 +40,6 @@ This release includes: * Exec currently only allows interactive sessions with a terminal (`exec -t`), not specify commands in the command line. * `docker run` detaches from the container by default, even if `-d` is not specified. Logs can be seen later on with command `docker log `. * Replicas are not supported when deploying Compose application. One container will be run for each Compose service. Several services cannot expose the same port. -* Name resolution between Compose services is done through /etc/hosts file. Some technical stacks ignoring /etc/hosts will not be able to resolve Compose service names within a Compose application. -* Windows Containers are not supported on ACI in multi-container compose applications. +* Name resolution between Compose services is done using the `/etc/hosts` file. If container code ignores `/etc/hosts`, the container will not be able to resolve other Compose services in the same application. +* With an ACI context, Compose applications can be deployed with the new command `docker compose up`. The `docker-compose` command will fail if used with ACI contexts. The error message is not explicit and needs to be improved. +* Windows containers are not supported on ACI in multi-container Compose applications.