← 返回命令列表

Linux command

skopeo 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Copy image between registries

skopeo copy docker://[source-image] docker://[dest-image]

Inspect image

skopeo inspect docker://[image:tag]

List tags

skopeo list-tags docker://[registry/image]

Copy to local directory

skopeo copy docker://[image] dir:[local-dir]

Delete image

skopeo delete docker://[image:tag]

Sync repository

skopeo sync --src docker --dest docker [source] [dest]

说明

skopeo performs operations on container images and registries without requiring a container runtime. It can copy, inspect, delete, and sign images across registries. The tool is useful for CI/CD pipelines, mirror management, and image inspection without pulling full images.

参数

copy _src_ _dest_
Copy image.
inspect _image_
Show image metadata.
list-tags _repo_
List available tags.
delete _image_
Delete image from registry.
sync _args_
Synchronize repositories.
--src-creds _user:pass_
Source credentials.
--dest-creds _user:pass_
Destination credentials.
--authfile _file_
Authentication file.
--override-os _os_
Override OS.
--override-arch _arch_
Override architecture.

FAQ

What is the skopeo command used for?

skopeo performs operations on container images and registries without requiring a container runtime. It can copy, inspect, delete, and sign images across registries. The tool is useful for CI/CD pipelines, mirror management, and image inspection without pulling full images.

How do I run a basic skopeo example?

Run `skopeo copy docker://[source-image] docker://[dest-image]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does copy _src_ _dest_ do in skopeo?

Copy image.