Use addon slug as hostname instead docker name (#132)

This commit is contained in:
Pascal Vizeli 2017-08-04 16:32:17 +02:00 committed by GitHub
parent 8afde1e881
commit f5b166a7f0

View File

@ -107,7 +107,7 @@ class DockerAddon(DockerBase):
self.dock.containers.run(
self.image,
name=self.name,
hostname=self.name,
hostname=self.addon.slug,
detach=True,
network_mode=self.addon.network_mode,
ports=self.addon.ports,