nb-cli-plugin-docker


Namenb-cli-plugin-docker JSON
Version 0.3.0 PyPI version JSON
download
home_pagehttps://github.com/nonebot/cli-plugin-docker
Summarydocker support for nb-cli
upload_time2023-04-12 06:52:06
maintainer
docs_urlNone
authoryanyongyu
requires_python>=3.8,<4.0
licenseMIT
keywords nonebot cli docker
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <!-- 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/nb-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/nb-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": "",
    "docs_url": null,
    "requires_python": ">=3.8,<4.0",
    "maintainer_email": "",
    "keywords": "nonebot,cli,docker",
    "author": "yanyongyu",
    "author_email": "yyy@nonebot.dev",
    "download_url": "https://files.pythonhosted.org/packages/38/08/e4a17261c335536d70509c8719a4a5d202214fe84a4c05bee16664ebf54a/nb_cli_plugin_docker-0.3.0.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/nb-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/nb-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",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "docker support for nb-cli",
    "version": "0.3.0",
    "split_keywords": [
        "nonebot",
        "cli",
        "docker"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "56911ff4d032dc8a3c0a82c466d887b42d17de16ff1f5ab745a7d8fc9f42d6c3",
                "md5": "ef1be88cdc32e9e792714c6c6cf26d7b",
                "sha256": "1d273094672c6d533133248a548d4269ba427188f9564aa326ebeb2568e78384"
            },
            "downloads": -1,
            "filename": "nb_cli_plugin_docker-0.3.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "ef1be88cdc32e9e792714c6c6cf26d7b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8,<4.0",
            "size": 16594,
            "upload_time": "2023-04-12T06:52:03",
            "upload_time_iso_8601": "2023-04-12T06:52:03.698455Z",
            "url": "https://files.pythonhosted.org/packages/56/91/1ff4d032dc8a3c0a82c466d887b42d17de16ff1f5ab745a7d8fc9f42d6c3/nb_cli_plugin_docker-0.3.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3808e4a17261c335536d70509c8719a4a5d202214fe84a4c05bee16664ebf54a",
                "md5": "3e463139c922323fab08f23db9a4e94d",
                "sha256": "e38c6325802e783812caa0ca27eac57c5904bd2967231a83c35578c362aa437b"
            },
            "downloads": -1,
            "filename": "nb_cli_plugin_docker-0.3.0.tar.gz",
            "has_sig": false,
            "md5_digest": "3e463139c922323fab08f23db9a4e94d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8,<4.0",
            "size": 13180,
            "upload_time": "2023-04-12T06:52:06",
            "upload_time_iso_8601": "2023-04-12T06:52:06.002353Z",
            "url": "https://files.pythonhosted.org/packages/38/08/e4a17261c335536d70509c8719a4a5d202214fe84a4c05bee16664ebf54a/nb_cli_plugin_docker-0.3.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-04-12 06:52:06",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "nonebot",
    "github_project": "cli-plugin-docker",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "nb-cli-plugin-docker"
}
        
Elapsed time: 0.06017s