上一页 1 2 3 4 5 6 7 ··· 9 下一页
摘要: Git底层命令 一、git hash-object 计算对象 ID 并可选择从文件创建 blob。(Compute object ID and optionally creates a blob from a file) 语法 git hash-object [-t <type>] [-w] [-- 阅读全文
posted @ 2023-02-12 20:29 菜阿 阅读(217) 评论(0) 推荐(0) 编辑
摘要: Git Branch 名称 git-branch - 列出、创建或删除分支(List, create, or delete branches) 语法 git branch [--color[=<when>] | --no-color] [--show-current] [-v [--abbrev=< 阅读全文
posted @ 2023-02-12 20:29 菜阿 阅读(329) 评论(0) 推荐(0) 编辑
摘要: 声明式流水线示例: 官方文档 def remote pipeline { agent any stages { stage('RemoteServer ') { steps { script { remote = [:] remote.name = 'TMS-test' remote.host = 阅读全文
posted @ 2023-02-12 20:29 菜阿 阅读(34) 评论(0) 推荐(0) 编辑
摘要: Git Checkout 名称 git-Checkout - 切换分支或恢复工作树文件 语法 git checkout [-q] [-f] [-m] [<branch>] git checkout [-q] [-f] [-m] --detach [<branch>] git checkout [-q 阅读全文
posted @ 2023-02-12 20:29 菜阿 阅读(604) 评论(0) 推荐(0) 编辑
摘要: DockerNetWork 官网 Docker 容器和服务如此强大的原因之一是您可以将它们连接在一起,或者将它们连接到非 Docker 工作负载。 Docker 容器和服务甚至不需要知道它们部署在 Docker 上,或者它们的对等点是否也是 Docker 工作负载。无论您的 Docker 主机运行 阅读全文
posted @ 2023-02-12 20:28 菜阿 阅读(270) 评论(0) 推荐(0) 编辑
摘要: Docker run命令: --add-host list Add a custom host-to-IP mapping 添加一个host 到 ip 的映射 docker run -it --add-host hostname1:192.168.1.2 --add-host hostname2:1 阅读全文
posted @ 2023-02-12 20:28 菜阿 阅读(27) 评论(0) 推荐(0) 编辑
摘要: docker volume [root@localhost128 home]# docker volume --help Usage: docker volume COMMAND Manage volumes Commands: ## 创建一个容器卷 create Create a volume # 阅读全文
posted @ 2023-02-12 20:28 菜阿 阅读(22) 评论(0) 推荐(0) 编辑
摘要: 安装Docker-Compose: 官方文档 安装 curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bi 阅读全文
posted @ 2023-02-12 20:27 菜阿 阅读(27) 评论(0) 推荐(0) 编辑
摘要: Dockerd Configuration [root@localhost128 docker]# dockerd --help Usage: dockerd [OPTIONS] A self-sufficient runtime for containers. Options: --add-run 阅读全文
posted @ 2023-02-12 20:27 菜阿 阅读(102) 评论(0) 推荐(0) 编辑
摘要: Dockerfile FROM FROM [--platform=<platform>] <image> [AS <name>] FROM [--platform=<platform>] <image>[:<tag>] [AS <name>] FROM [--platform=<platform>] 阅读全文
posted @ 2023-02-12 20:27 菜阿 阅读(48) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 9 下一页