Skip to content

Commit

Permalink
Improving documentation for --url parameter
Browse files Browse the repository at this point in the history
Adding documentation regarding the default behaviour of "cli_run" in adapter "docker.py", which is called when --url should fetch from docker-hub.
  • Loading branch information
mhaid authored Feb 1, 2024
1 parent 49d30bc commit 7c9946a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion datalad_container/containers_add.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,8 @@ class ContainersAdd(Interface):
the rest of the URL will be interpreted as the argument to
'docker pull', the image will be saved to a location
specified by `name`, and the call format will be auto-configured
to run docker, unless overwritten.""",
to run docker, unless overwritten. The auto-configured call to docker
run mounts the cwd to '/tmp' and sets the working directory to '/tmp'.""",
metavar="URL",
constraints=EnsureStr() | EnsureNone(),
),
Expand Down

0 comments on commit 7c9946a

Please sign in to comment.