镜像管理¶
hfai images¶
用户自定义镜像的管理接口
Usage:
hfai images COMMAND <argument>... [OPTIONS]
hfai images delete¶
删除萤火二号上的镜像,以释放空间 注意: 1、 该镜像的命名并不会被回收 2、 用户也可以删除自己组内的其他用户的镜像
Usage:
hfai images delete <image> [OPTIONS]
Arguments
image
完整的镜像名,[registry]/image:<tag>
hfai images list¶
列举用户组在萤火二号上的镜像列表,以及镜像在萤火二号上的状态
Usage:
hfai images list [OPTIONS]
Options:
-a, --all
是否显示所有镜像(含删除的)
- default
False
hfai images load¶
加载镜像 tar 包到萤火二号上,tar包应该在萤火二号上共享目录下的,外部用户需要先把 tar 包上传上来操作
Usage:
hfai images load <image_tar> [OPTIONS]
Arguments
image_tar
用户要加载进萤火的镜像 TAR 包。在用户本地调用为 workspace 中的路径,在萤火上调用则为其共享存储中的路径