当前位置:网站首页>tiup mirror clone
tiup mirror clone
2022-08-01 20:34:00 【添香小铺】
命令 tiup mirror clone
用于克隆一个已经存在的镜像或克隆部分组件生成一个新的镜像。新旧镜像的组件相同,但使用的签名密钥不同。
语法
tiup mirror clone <target-dir> [global version] [flags]
<target-dir>
是本地存放克隆下来的镜像的路径,如果不存在则会自动创建。- 若指定了
[global version]
参数,TiUP 会尝试克隆指定版本的所有组件。若某些组件没有指定的版本,则克隆其最新版本。
选项
-f, --full
- 是否克隆整个镜像。指定该选项后会从目标镜像完整克隆所有组件的所有版本,此时其他指定的选项将失效。
- 数据类型:
BOOLEAN
- 该选项默认关闭,默认值为
false
。在命令中添加该选项,并传入true
值或不传值,均可开启此功能。
-a, --arch
- 仅克隆能在指定平台上运行的组件。
- 数据类型:
STRINGS
- 该参数接受以逗号分隔的多个平台名称,例如
amd64,arm64
。如果未指定该选项,默认克隆 AMD64 和 ARM64 平台的组件,即amd64,arm64
。
-o, --os
- 仅克隆能在指定操作系统上运行的组件。
- 数据类型:
STRINGS
- 该参数接受以逗号分隔的多个操作系统名称,例如
linux,darwin
。如果未指定该选项,默认克隆 Linux 和 Darwin 系统的组件,即linux,darwin
。
--prefix
- 匹配版本时是否前缀匹配。默认情况下必须严格匹配指定的版本才会下载,指定该选项之后,仅前缀匹配指定的版本也会被下载。
- 数据类型:
BOOLEAN
- 该选项默认关闭,默认值为
false
。在命令中添加该选项,并传入true
值或不传值,均可开启此功能。
--{component}(strings,默认为空)
指定要克隆的 {component}
组件的版本列表。{component}
为组件名,可选的组件名可执行 tiup list --all 查看。
边栏推荐
- 用户身份标识与账号体系实践
- 【luogu P1912】诗人小G(二分栈)(决策单调性优化DP)
- excel高级绘图技巧100讲(二十二)-如何对不规则数据进行分列
- 【无标题】
- 字符串
- 模板特例化和常用用法
- To promote energy conservation institute 】 【 the opinions of the agricultural water price reform
- Interview Blitz 70: What are sticky packs and half packs?How to deal with it?
- Addition, Subtraction, Multiplication of Large Integers, Multiplication and Division of Large Integers and Ordinary Integers
- Which websites are commonly used for patent searches?
猜你喜欢
【无标题】
To promote energy conservation institute 】 【 the opinions of the agricultural water price reform
OSG Notes: Set DO_NOT_COMPUTE_NEAR_FAR to manually calculate far and near planes
[Personal work] Wireless network image transmission module
我的驾照考试笔记(1)
LTE time domain and frequency domain resources
LTE时域、频域资源
Which websites are commonly used for patent searches?
KDD2022 | Self-Supervised Hypergraph Transformer Recommendation System
】 【 nn. The Parameter () to generate and why do you want to initialize
随机推荐
latex paper artifact -- server deployment overleaf
【个人作品】记之-串口日志记录工具
MySQL语法基础
系统收集集
C语言实现-直接插入排序(带图详解)
98. Embedded controller EC actual combat EC development board development completed
Which websites are commonly used for patent searches?
模板特例化和常用用法
30-day question brushing plan (5)
宝塔搭建PESCMS-Ticket开源客服工单系统源码实测
根据Uniprot ID/PDB ID批处理获取蛋白质.pdb文件
【无标题】
自定义指令,获取焦点
Common pits in the Go language
通配符 SSL/TLS 证书
SIPp installation and use
What is the difference between a utility model patent and an invention patent?Understand in seconds!
密码学的基础:X.690和对应的BER CER DER编码
Use WeChat official account to send information to designated WeChat users
【kali-信息收集】(1.3)探测网络范围:DMitry(域名查询工具)、Scapy(跟踪路由工具)