We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 310b7de commit 80770a5Copy full SHA for 80770a5
renku/core/session/session.py
@@ -142,6 +142,11 @@ def session_start(
142
"""
143
from renku.domain_model.project_context import project_context
144
145
+ # NOTE: The Docker client in Python requires the parameters below to be a list and will fail with a tuple.
146
+ # Click will convert parameters with the flag "many" set to True to tuples.
147
+ kwargs["security_opt"] = list(kwargs.get("security_opt", []))
148
+ kwargs["device_cgroup_rules"] = list(kwargs.get("device_cgroup_rules", []))
149
+
150
pinned_image = get_value("interactive", "image")
151
if pinned_image and image_name is None:
152
image_name = pinned_image
0 commit comments