From e99fe6b35439577318916ba2d8b28a2d6be2cdfc Mon Sep 17 00:00:00 2001 From: Ryan Chu Date: Mon, 2 Jul 2018 14:57:17 +0200 Subject: Docker Provisioning: Install Avahi and enable mDNS service discovery MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The challenge of connecting Docker containers from the host is to resolve a predefined hostname to an IP address assigned at runtime. For Unix-like platforms such as Ubuntu, it can be done by either hard-code the IP addresses or creating a DNS server. Both of them are not user-friendly which need root permission to modify system files. Avahi is a free Zeroconf implementation and provides multicast DNS (mDNS) service discovery. It enables Docker containers to publish their services on a local network. For the host systems supporting mDNS technology, they will automatically discover the services in a local domain without extra user-efforts. Task-number: QTQAINFRA-1686 Change-Id: I1ef464a455cef5d331a3e2eb0194e2741172ef95 Reviewed-by: Edward Welbourne Reviewed-by: Ryan Chu Reviewed-by: Jędrzej Nowacki --- coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/80-docker.sh | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/80-docker.sh') diff --git a/coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/80-docker.sh b/coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/80-docker.sh index 18c106ae..90c3a7eb 100755 --- a/coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/80-docker.sh +++ b/coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/80-docker.sh @@ -48,15 +48,5 @@ sudo docker info sudo curl -L https://github.com/docker/compose/releases/download/1.21.0/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose sudo chmod +x /usr/local/bin/docker-compose -# Append address and hostname of test servers to CI environment. -cat <