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:
Bruno Binet 2014-10-15 16:52:42 +02:00
parent cc4d877d5f
commit 1282bac512

View File

@ -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)