copy
limactl copy
在主机和客户机之间复制文件
概述
在主机和客户机之间复制文件
在客户机文件名前加上实例名和冒号。
示例:limactl copy default:/etc/os-release .
不要与 ’limactl clone’ 混淆。
limactl copy SOURCE ... TARGET [flags]
选项
-h, --help help for copy
-r, --recursive 递归复制目录
-v, --verbose 启用详细输出
从父命令继承的选项
--debug 调试模式
--log-format string 设置日志格式 [text, json] (default "text")
--log-level string 设置日志级别 [trace, debug, info, warn, error]
--tty 启用 TUI 交互,如打开编辑器。默认在终端时为 true。自动化时设为 false。
-y, --yes --tty=false 的别名
另请参见
- limactl - Lima: Linux 虚拟机