docker/cli

GitHub: docker/cli

Docker 官方命令行客户端,用于与 Docker 守护进程交互并管理容器的完整生命周期。

Stars: 5857 | Forks: 2135

# Docker CLI [![PkgGoDev](https://pkg.go.dev/badge/github.com/docker/cli)](https://pkg.go.dev/github.com/docker/cli) [![Build Status](https://img.shields.io/github/actions/workflow/status/docker/cli/build.yml?branch=master&label=build&logo=github)](https://github.com/docker/cli/actions?query=workflow%3Abuild) [![Test Status](https://img.shields.io/github/actions/workflow/status/docker/cli/test.yml?branch=master&label=test&logo=github)](https://github.com/docker/cli/actions?query=workflow%3Atest) [![Go Report Card](https://goreportcard.com/badge/github.com/docker/cli)](https://goreportcard.com/report/github.com/docker/cli) [![OpenSSF Scorecard](https://api.scorecard.dev/projects/github.com/docker/cli/badge)](https://scorecard.dev/viewer/?uri=github.com/docker/cli) [![Codecov](https://img.shields.io/codecov/c/github/docker/cli?logo=codecov)](https://codecov.io/gh/docker/cli) ## 关于 此仓库是 Docker CLI 的主仓库。 ## 开发 `docker/cli` 使用 Docker 进行开发。 从源码构建 CLI: ``` docker buildx bake ``` 为所有支持的平台构建二进制文件: ``` docker buildx bake cross ``` 为特定平台构建: ``` docker buildx bake --set binary.platform=linux/arm64 ``` 为 glibc 或 musl 构建动态二进制文件: ``` USE_GLIBC=1 docker buildx bake dynbinary ``` 运行所有 linting: ``` docker buildx bake lint shellcheck ``` 运行测试: ``` docker buildx bake test ``` 运行单元测试: ``` $ make -f docker.Makefile test-unit ``` 运行完整的测试套件: ``` $ make -f docker.Makefile test ``` 列出所有可用的目标: ``` make help ``` ### 容器内开发环境 启动交互式开发环境: ``` make shell ``` ## 法律声明 *由我们的法律顾问提供。有关更多背景信息, 请参阅本仓库中的 [NOTICE](https://github.com/docker/cli/blob/master/NOTICE) 文档。* Docker 的使用和传输可能受到美国和其他政府的某些限制。 您有责任确保您的使用和/或传输不违反适用的法律。 有关更多信息,请参阅 https://www.bis.doc.gov ## 许可证 docker/cli 采用 Apache License, Version 2.0 授权。有关完整的 许可证文本,请参阅 [LICENSE](https://github.com/docker/docker/blob/master/LICENSE)。
标签:CLI, DNS解析, Docker, Docker命令行, EVTX分析, Golang, NIDS, SOC Prime, WiFi技术, 安全编程, 安全防御评估, 容器化, 容器管理, 容器编排, 开发工具, 开源项目, 微服务架构, 日志审计, 虚拟化, 请求拦截, 镜像构建