1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Do not update etc/hosts for every container

- Only user named containers will be published into
  other containers' etc/hosts file.
- Also block linking to containers which are not
  connected to the default network

Signed-off-by: Alessandro Boch <aboch@docker.com>
This commit is contained in:
Alessandro Boch 2015-10-21 09:08:19 -07:00
parent f3f63c6044
commit 4f6f00e191
4 changed files with 102 additions and 6 deletions

View file

@ -43,4 +43,5 @@ type Settings struct {
SandboxKey string
SecondaryIPAddresses []Address
SecondaryIPv6Addresses []Address
IsAnonymousEndpoint bool
}