Include network settings as part of the service config hash.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
parent
25cbc2aae9
commit
089ec66522
2 changed files with 5 additions and 4 deletions
|
|
@ -498,7 +498,7 @@ class Service(object):
|
|||
'image_id': self.image()['Id'],
|
||||
'links': self.get_link_names(),
|
||||
'net': self.network_mode.id,
|
||||
'networks': list(self.networks.keys()),
|
||||
'networks': self.networks,
|
||||
'volumes_from': [
|
||||
(v.source.name, v.mode)
|
||||
for v in self.volumes_from if isinstance(v.source, Service)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue