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:{version}
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
donvr noname -r -bla bla:bla
donvr 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.22-py3-none-any.whl
(11.5 kB
view details)
File details
Details for the file donv-0.1.22-py3-none-any.whl
.
File metadata
- Download URL: donv-0.1.22-py3-none-any.whl
- Upload date:
- Size: 11.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa24f73e1c0a98c6328199ed13c3fc3319fb77361e70f14f7768430fa227220f |
|
MD5 | bd3c90a174ad748e80ec554fdeb60a2c |
|
BLAKE2b-256 | 993edb0d0ca683f25cc0e70b7fc5cba7972714ed87c69e765d88771dae3893b6 |