Skip to content

Commit 0b8094f

Browse files
committed
quick mitigation for nvidia-docker bug when called with -- arg
1 parent 718a9fd commit 0b8094f

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

userdocker/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
https://github.com/joernhees/userdocker
88
"""
99

10-
__version__ = '1.0.1-dev'
10+
__version__ = '1.0.1'

userdocker/subcommands/run.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,9 @@ def prepare_commandline_run(args):
170170
if args.entrypoint:
171171
cmd += ["--entrypoint", args.entrypoint]
172172

173-
cmd.append("--")
173+
# additional injection protection, deactivated for now due to nvidia-docker
174+
# unability to handle this
175+
# cmd.append("--")
174176

175177
img = args.image
176178
if ":" not in img and "@" not in img:

0 commit comments

Comments
 (0)