nipoppy.container.DockerHandler¶
- class nipoppy.container.DockerHandler(args=None)¶
Container handler for Docker.
- Parameters:
args (Iterable[str])
- get_pull_command(uri, fpath_container)¶
Get the command to pull a container image to a specified location.
- get_pull_confirmation_prompt(fpath_container)¶
Get the confirmation prompt for pulling the container image.
- Parameters:
fpath_container (nipoppy.env.StrOrPathLike) – Path where the container image will be saved
- Returns:
The confirmation prompt string
- Return type:
- is_image_downloaded(uri, fpath_container)¶
Check if a container image has been downloaded.
- bind_flags = ('--volume', '-v')¶
Flag for binding paths.
- command = 'docker'¶
Container executable name.