Takes the drudgery out of bind-mounting volumes on Docker and Singularity
Project description
bindit
Takes the drudgery out of binding volumes on Docker and (soon) Singularity
bindit is a wrapper for container runners that makes it easy to handle file input and output for containerised command-line applications. It works by detecting file paths in the container image arguments, and rebasing these as necessary onto new bind mounts.
Free software: MIT license
Documentation: https://bindit.readthedocs.io.
Features
Detects references to relative or absolute path on local file system, bind mounts directories as necessary to make the paths available inside the container, and rebases the paths to point to the new mounts.
Avoids interfering with or duplicating user-defined bind mounts
absonly mode: ignore relative paths (useful if you have a python directory in your cwd…)
dryrun mode: return a re-formatted container runner command (useful for distributed execution on HPCs, testing)
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.1.0 (2019-04-30)
First release on PyPI.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for bindit-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | af650f590a57b128912d5210a80e4ab13cf33ec08c88ad9c20bc228b231c9a7d |
|
MD5 | 2860f31af2c2093df5dd96c26bb826e8 |
|
BLAKE2b-256 | b2d89237273e770fba402295b7b5501e15f0c7ae544d3e5fee92e8d7fb58ce13 |