Include networks in the config_hash.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
parent
0810eeba10
commit
e551988616
6 changed files with 19 additions and 10 deletions
|
|
@ -472,6 +472,7 @@ class Service(object):
|
|||
'image_id': self.image()['Id'],
|
||||
'links': self.get_link_names(),
|
||||
'net': self.network_mode.id,
|
||||
'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