Skip to main content

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

  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}

Project details


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 hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page