Easy setup for docker env.
https://pypi.org/project/donv/
pip install donv
-
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
python setup.py bdist_wheel && pip install -e .
twine upload dist/{generated dist file path}