-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Docker adaptor can retrieve an image from the local docker service
Closes: #199 Demo ``` ❯ datalad create busydemo ❯ cd busydemo ❯ datalad containers-add -u dhub://busybox:latest busy ❯ datalad drop .datalad/environments --reckless availability ❯ git annex info | grep 'local annex' local annex keys: 0 local annex size: 0 bytes ❯ cat .datalad/config [datalad "dataset"] id = b7adee52-a65a-43fc-a85b-c0d5e2d5b67c [datalad "containers.busy"] image = .datalad/environments/busy/image cmdexec = {python} -m datalad_container.adapters.docker run {img} {cmd} ❯ datalad containers-run -n busy uname [INFO ] Saved busybox:latest to /tmp/busydemo/.datalad/environments/busy/image/tmpzrdd7mj2 [INFO ] Making sure inputs are available (this may take some time) [INFO ] == Command start (output follows) ===== Linux [INFO ] == Command exit (modification check follows) ===== run(ok): /tmp/busydemo (dataset) [/home/mih/env/datalad-dev/bin/python -m ...] ```
- Loading branch information
Showing
2 changed files
with
119 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters