Easy setup for docker env.
Project description
donv: docker-env
Easy setup for docker env.
How to install
https://pypi.org/project/donv/
pip install donv
How to donv use
-
Docker Info
donv-info
donvi
donvi --help
-
Docker Build
donv-build --dockerfile ./donvdonv/Dockerfile --image donv/donv:0.0.1
donvb
-
Docker Run
donv run --gpus 0,1,2,3,4,5,6,7 --name noname --rm
donvr -g 0,1,2,3,4,5,6,7 -n noname -r
-
Docker restart
donv-restart noname
donvre noname
-
Docker attach
donv-attach noname
donva noname
-
Docker restart and attach
donv-restart-attach noname
donvra noname
-
Docker stop
donv-stop noname
donvs noname
-
Docker remove
donv-remove noname
donvrm noname
-
Docker remove image
donv-remove-image noname
donvrmi noname
How to build package
python setup.py bdist_wheel && pip install -e .
twine upload dist/{generated dist file path}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
donv-0.1.12-py3-none-any.whl
(19.0 kB
view hashes)