Skip to content

cli: renku session start -p docker #3552

Description

@philipp-baumann

Describe the bug

CLI command errors with the bug below, see traceback below, when I did

renku session start -p docker .

If you need more details for the diagnostics, happy to share.

Details

Renku version: 2.5.0
OS: Linux (22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 17 15:17:25 UTC 2)
Python: 3.10.6

Traceback

Traceback (most recent call last):
  File "[...]/renku/core/session/docker.py", line 359, in session_start_helper
    container = self.docker_client().containers.run(
  File "[...]/docker/models/containers.py", line 819, in run
    container = self.create(image=image, command=command,
  File "[...]/docker/models/containers.py", line 877, in create
    create_kwargs = _create_container_args(kwargs)
  File "[...]/docker/models/containers.py", line 1095, in _create_container_args
    create_kwargs['host_config'] = HostConfig(**host_config_kwargs)
  File "[...]/docker/types/containers.py", line 369, in __init__
    raise host_config_type_error(
TypeError: Invalid type for security_opt param: expected list but found <class 'tuple'>

Additional context

Add any other context about the problem.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions