mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
add support for restart policy in docker.start module
restart policies have been introduced in docker 1.2.0 https://docs.docker.com/v1.2/#release-notes
This commit is contained in:
parent
cc4d877d5f
commit
1282bac512
@ -832,6 +832,7 @@ def start(container,
|
||||
dns=None,
|
||||
volumes_from=None,
|
||||
network_mode=None,
|
||||
restart_policy=None,
|
||||
cap_add=None,
|
||||
cap_drop=None):
|
||||
'''
|
||||
@ -878,6 +879,7 @@ def start(container,
|
||||
dns=dns,
|
||||
volumes_from=volumes_from,
|
||||
network_mode=network_mode,
|
||||
restart_policy=restart_policy,
|
||||
cap_add=cap_add,
|
||||
cap_drop=cap_drop)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user