<!-- markdownlint-disable MD033 MD041 -->
<p align="center">
<a href="https://cli.nonebot.dev/"><img src="https://cli.nonebot.dev/logo.png" width="200" height="200" alt="nonebot"></a>
</p>
<div align="center">
# NB CLI Plugin Docker
_✨ NoneBot2 命令行工具 Docker 插件 ✨_
</div>
<p align="center">
<a href="https://raw.githubusercontent.com/nonebot/nb-cli-plugin-docker/master/LICENSE">
<img src="https://img.shields.io/github/license/nonebot/cli-plugin-docker" alt="license">
</a>
<a href="https://pypi.python.org/pypi/nb-cli-plugin-docker">
<img src="https://img.shields.io/pypi/v/nb-cli-plugin-docker" alt="pypi">
</a>
<img src="https://img.shields.io/badge/python-3.8+-blue" alt="python">
<a href="https://results.pre-commit.ci/latest/github/nonebot/nb-cli-plugin-docker/master">
<img src="https://results.pre-commit.ci/badge/github/nonebot/cli-plugin-docker/master.svg" alt="pre-commit" />
</a>
<br />
<a href="https://jq.qq.com/?_wv=1027&k=5OFifDh">
<img src="https://img.shields.io/badge/QQ%E7%BE%A4-768887710-orange?style=flat-square" alt="QQ Chat Group">
</a>
<a href="https://qun.qq.com/qqweb/qunpro/share?_wv=3&_wwv=128&appChannel=share&inviteCode=7b4a3&appChannel=share&businessType=9&from=246610&biz=ka">
<img src="https://img.shields.io/badge/QQ%E9%A2%91%E9%81%93-NoneBot-5492ff?style=flat-square" alt="QQ Channel">
</a>
<a href="https://t.me/botuniverse">
<img src="https://img.shields.io/badge/telegram-botuniverse-blue?style=flat-square" alt="Telegram Channel">
</a>
<a href="https://discord.gg/VKtE6Gdc4h">
<img src="https://discordapp.com/api/guilds/847819937858584596/widget.png?style=shield" alt="Discord Server">
</a>
</p>
## 准备
在使用本插件前请确保 Docker CLI 以及 Docker Compose Plugin 已经安装,且可以从命令行直接使用。
详细安装方法请参考 [Docker 文档](https://docs.docker.com/engine/install/)
官方 Linux 快速安装一键脚本:
```bash
curl -fsSL https://get.docker.com | sudo sh
```
## 安装插件
```bash
nb self install nb-cli-plugin-docker
```
## 使用插件
```bash
nb docker
# 其他别名
# nb deploy
# nb compose
```
Raw data
{
"_id": null,
"home_page": "https://github.com/nonebot/cli-plugin-docker",
"name": "nb-cli-plugin-docker",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.9",
"maintainer_email": null,
"keywords": "nonebot, cli, docker",
"author": "yanyongyu",
"author_email": "yyy@nonebot.dev",
"download_url": "https://files.pythonhosted.org/packages/5c/bd/14737d84e13daf4b68d669a22368f3e378b6b7fd5ba4d2e597259ccc3f16/nb_cli_plugin_docker-0.4.1.tar.gz",
"platform": null,
"description": "<!-- markdownlint-disable MD033 MD041 -->\n<p align=\"center\">\n <a href=\"https://cli.nonebot.dev/\"><img src=\"https://cli.nonebot.dev/logo.png\" width=\"200\" height=\"200\" alt=\"nonebot\"></a>\n</p>\n\n<div align=\"center\">\n\n# NB CLI Plugin Docker\n\n_\u2728 NoneBot2 \u547d\u4ee4\u884c\u5de5\u5177 Docker \u63d2\u4ef6 \u2728_\n\n</div>\n\n<p align=\"center\">\n <a href=\"https://raw.githubusercontent.com/nonebot/nb-cli-plugin-docker/master/LICENSE\">\n <img src=\"https://img.shields.io/github/license/nonebot/cli-plugin-docker\" alt=\"license\">\n </a>\n <a href=\"https://pypi.python.org/pypi/nb-cli-plugin-docker\">\n <img src=\"https://img.shields.io/pypi/v/nb-cli-plugin-docker\" alt=\"pypi\">\n </a>\n <img src=\"https://img.shields.io/badge/python-3.8+-blue\" alt=\"python\">\n <a href=\"https://results.pre-commit.ci/latest/github/nonebot/nb-cli-plugin-docker/master\">\n <img src=\"https://results.pre-commit.ci/badge/github/nonebot/cli-plugin-docker/master.svg\" alt=\"pre-commit\" />\n </a>\n <br />\n <a href=\"https://jq.qq.com/?_wv=1027&k=5OFifDh\">\n <img src=\"https://img.shields.io/badge/QQ%E7%BE%A4-768887710-orange?style=flat-square\" alt=\"QQ Chat Group\">\n </a>\n <a href=\"https://qun.qq.com/qqweb/qunpro/share?_wv=3&_wwv=128&appChannel=share&inviteCode=7b4a3&appChannel=share&businessType=9&from=246610&biz=ka\">\n <img src=\"https://img.shields.io/badge/QQ%E9%A2%91%E9%81%93-NoneBot-5492ff?style=flat-square\" alt=\"QQ Channel\">\n </a>\n <a href=\"https://t.me/botuniverse\">\n <img src=\"https://img.shields.io/badge/telegram-botuniverse-blue?style=flat-square\" alt=\"Telegram Channel\">\n </a>\n <a href=\"https://discord.gg/VKtE6Gdc4h\">\n <img src=\"https://discordapp.com/api/guilds/847819937858584596/widget.png?style=shield\" alt=\"Discord Server\">\n </a>\n</p>\n\n## \u51c6\u5907\n\n\u5728\u4f7f\u7528\u672c\u63d2\u4ef6\u524d\u8bf7\u786e\u4fdd Docker CLI \u4ee5\u53ca Docker Compose Plugin \u5df2\u7ecf\u5b89\u88c5\uff0c\u4e14\u53ef\u4ee5\u4ece\u547d\u4ee4\u884c\u76f4\u63a5\u4f7f\u7528\u3002\n\n\u8be6\u7ec6\u5b89\u88c5\u65b9\u6cd5\u8bf7\u53c2\u8003 [Docker \u6587\u6863](https://docs.docker.com/engine/install/)\n\n\u5b98\u65b9 Linux \u5feb\u901f\u5b89\u88c5\u4e00\u952e\u811a\u672c\uff1a\n\n```bash\ncurl -fsSL https://get.docker.com | sudo sh\n```\n\n## \u5b89\u88c5\u63d2\u4ef6\n\n```bash\nnb self install nb-cli-plugin-docker\n```\n\n## \u4f7f\u7528\u63d2\u4ef6\n\n```bash\nnb docker\n# \u5176\u4ed6\u522b\u540d\n# nb deploy\n# nb compose\n```\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "docker support for nb-cli",
"version": "0.4.1",
"project_urls": {
"Documentation": "https://github.com/nonebot/cli-plugin-docker#readme",
"Homepage": "https://github.com/nonebot/cli-plugin-docker",
"Repository": "https://github.com/nonebot/cli-plugin-docker"
},
"split_keywords": [
"nonebot",
" cli",
" docker"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "5f9475854a04157ddbe46b904e2cdd371838ad4383c6ef7fa27a56f26934932e",
"md5": "9fe6e2362ff1438ac2bf54c74f17f5bf",
"sha256": "a7bbd76a1b3980d77a0208ab34c1c35b2cc50927954d0c28b21708cc4e436116"
},
"downloads": -1,
"filename": "nb_cli_plugin_docker-0.4.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9fe6e2362ff1438ac2bf54c74f17f5bf",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.9",
"size": 16641,
"upload_time": "2024-10-26T09:14:16",
"upload_time_iso_8601": "2024-10-26T09:14:16.803583Z",
"url": "https://files.pythonhosted.org/packages/5f/94/75854a04157ddbe46b904e2cdd371838ad4383c6ef7fa27a56f26934932e/nb_cli_plugin_docker-0.4.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "5cbd14737d84e13daf4b68d669a22368f3e378b6b7fd5ba4d2e597259ccc3f16",
"md5": "463055913eee9a0c225a29cfa9f54278",
"sha256": "f7081765f8a69be84911c21c9d17b372b48fcd06c36bddd484dc5410cf2c54fa"
},
"downloads": -1,
"filename": "nb_cli_plugin_docker-0.4.1.tar.gz",
"has_sig": false,
"md5_digest": "463055913eee9a0c225a29cfa9f54278",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.9",
"size": 13653,
"upload_time": "2024-10-26T09:14:18",
"upload_time_iso_8601": "2024-10-26T09:14:18.196542Z",
"url": "https://files.pythonhosted.org/packages/5c/bd/14737d84e13daf4b68d669a22368f3e378b6b7fd5ba4d2e597259ccc3f16/nb_cli_plugin_docker-0.4.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-26 09:14:18",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "nonebot",
"github_project": "cli-plugin-docker",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "nb-cli-plugin-docker"
}