shamu

Python runer lib support shell, ssh ...


License
MIT
Install
pip install shamu==0.1.0

Documentation

SHAMU v0.1.3

shamu is a shortcut commandline tool to quickly open and enter a docker interactively with mounted volumes. Specifically Shamu tackles that docker volume mounts are required to be absolute and thats always driven me crazy. So shamu wraps the docker run command and pipes in your images and mount options. I do realize that docker-compose files can do this as well but I often run around to different folders and jump into dockers to run some commands and exit it. Shamu help do interactive dockers on the fly with volume mounts.

INSTALL

Prequisites:

  • docker
  • python3.5 +
  • pip

Once docker, python, and pip are installed, install shamu using pip:

$ pip install -u shamu

Usage

$  shamu < image name > -v ./:

Working Example with two volumes

  $ shamu usdaarsnwrc/basin_setup:develop -v ./:/Data ~/Downloads:/Downloads