Skip to content

nemodleo/donv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

donv: docker-env

Easy setup for docker env.

How to install

https://pypi.org/project/donv/

pip install donv

How to donv use

  1. Docker Info

    donv-info
    
    donvi
    
    donvi --help
    
  2. Docker Build

    donv-build --dockerfile ./donvdonv/Dockerfile --image donv/donv:{version}
    
    donvb
    
  3. 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
    
  4. Docker restart

    donv-restart noname 
    
    donvre noname 
    
  5. Docker attach

    donv-attach noname 
    
    donva noname 
    
  6. Docker restart and attach

    donv-restart-attach noname 
    
    donvra noname 
    
  7. Docker stop

    donv-stop noname 
    
    donvs noname 
    
  8. Docker remove

    donv-remove noname 
    
    donvrm noname 
    
  9. 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}