# donv: docker-env
Easy setup for docker env.
## How to install
https://pypi.org/project/donv/
```
pip install donv
```
## How to donv use
0. Docker Info
```
donv-info
```
```
donvi
```
```
donvi --help
```
1. Docker Build
```
donv-build --dockerfile ./donvdonv/Dockerfile --image donv/donv:{version}
```
```
donvb
```
2. 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
```
3. Docker restart
```
donv-restart noname
```
```
donvre noname
```
4. Docker attach
```
donv-attach noname
```
```
donva noname
```
5. Docker restart and attach
```
donv-restart-attach noname
```
```
donvra noname
```
6. Docker stop
```
donv-stop noname
```
```
donvs noname
```
7. Docker remove
```
donv-remove noname
```
```
donvrm noname
```
8. 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}
```
Raw data
{
"_id": null,
"home_page": "https://github.com/nemodleo/donv",
"name": "donv",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "docker build dockerfile run env images ps",
"author": "Hyun Park",
"author_email": "nemod.leo@snu.ac.kr",
"download_url": "",
"platform": null,
"description": "# donv: docker-env\nEasy setup for docker env.\n\n## How to install\n\nhttps://pypi.org/project/donv/\n\n```\npip install donv\n```\n\n## How to donv use\n\n0. Docker Info\n\n ```\n donv-info\n ```\n ```\n donvi\n ```\n ```\n donvi --help\n ```\n\n1. Docker Build\n\n ```\n donv-build --dockerfile ./donvdonv/Dockerfile --image donv/donv:{version}\n ```\n ```\n donvb\n ```\n\n2. Docker Run\n\n ```\n donv run --gpus 0,1,2,3,4,5,6,7 --name noname --rm\n ```\n ```\n donvr -g 0,1,2,3,4,5,6,7 -n noname -r\n ```\n ```\n donvr noname -r -bla bla:bla\n ```\n ```\n donvr noname -r\n ```\n\n3. Docker restart\n\n ```\n donv-restart noname \n ```\n ```\n donvre noname \n ```\n\n4. Docker attach\n\n ```\n donv-attach noname \n ```\n ```\n donva noname \n ```\n\n5. Docker restart and attach\n\n ```\n donv-restart-attach noname \n ```\n ```\n donvra noname \n ```\n\n6. Docker stop\n\n ```\n donv-stop noname \n ```\n ```\n donvs noname \n ```\n\n7. Docker remove\n\n ```\n donv-remove noname \n ```\n ```\n donvrm noname \n ```\n\n8. Docker remove image\n\n ```\n donv-remove-image noname \n ```\n ```\n donvrmi noname \n ```\n\n## How to build package\n\n```\npython setup.py bdist_wheel && pip install -e .\ntwine upload dist/{generated dist file path}\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Easy setup for docker env.",
"version": "0.1.22",
"project_urls": {
"Homepage": "https://github.com/nemodleo/donv"
},
"split_keywords": [
"docker",
"build",
"dockerfile",
"run",
"env",
"images",
"ps"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "993edb0d0ca683f25cc0e70b7fc5cba7972714ed87c69e765d88771dae3893b6",
"md5": "bd3c90a174ad748e80ec554fdeb60a2c",
"sha256": "aa24f73e1c0a98c6328199ed13c3fc3319fb77361e70f14f7768430fa227220f"
},
"downloads": -1,
"filename": "donv-0.1.22-py3-none-any.whl",
"has_sig": false,
"md5_digest": "bd3c90a174ad748e80ec554fdeb60a2c",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 11528,
"upload_time": "2023-09-01T07:26:53",
"upload_time_iso_8601": "2023-09-01T07:26:53.716805Z",
"url": "https://files.pythonhosted.org/packages/99/3e/db0d0ca683f25cc0e70b7fc5cba7972714ed87c69e765d88771dae3893b6/donv-0.1.22-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-09-01 07:26:53",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "nemodleo",
"github_project": "donv",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "donv"
}