diff --git a/mlcube/mlcube/parser.py b/mlcube/mlcube/parser.py index 08aa76c..17ee426 100644 --- a/mlcube/mlcube/parser.py +++ b/mlcube/mlcube/parser.py @@ -139,7 +139,8 @@ def parse_extra_arg( if parsed_args.get("cpu", None): key = "--cpuset-cpus" if platform == "docker" else "--vm-cpu" runner_run_args[key] = parsed_args["cpu"] - runner_run_args["--mount_opts"] = parsed_args["mount"] + if parsed_args.get("mount", None): + runner_run_args["--mount_opts"] = parsed_args["mount"] mlcube_args.merge_with({platform: runner_run_args})