daemon: added initial support to docker nodes for setting up volumes and bind mounts
This commit is contained in:
parent
25c3c42b40
commit
fd3be57f57
3 changed files with 39 additions and 3 deletions
|
@ -521,6 +521,8 @@ class Session:
|
|||
kwargs = dict(_id=_id, name=name, server=server)
|
||||
if _class in CONTAINER_NODES:
|
||||
kwargs["image"] = options.image
|
||||
kwargs["binds"] = options.binds
|
||||
kwargs["volumes"] = options.volumes
|
||||
node = self.create_node(_class, start, **kwargs)
|
||||
|
||||
# set node attributes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue