← 返回命令列表

Linux command

apptainer-push 命令

文本

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

常用示例

Example

apptainer push [path/to/image.sif] library://[user/collection/container]:[tag]

Example

apptainer push [path/to/image.sif] oras://[registry/namespace/image]:[tag]

Example

apptainer push -U [path/to/image.sif] library://[user/collection/container]:[tag]

Example

apptainer push -D "[description]" [path/to/image.sif] library://[user/collection/container]:[tag]

说明

apptainer push uploads container images to remote registries including the Sylabs Container Library and OCI-compatible registries. This enables sharing containers with collaborators and deploying containers to production environments. Authentication is required for most registries. Use apptainer remote login to configure credentials before pushing.

参数

-U, --allow-unsigned
Allow pushing unsigned containers to the library
-D, --description _text_
Attach a description to the container (library only)
--library _url_
Specify an alternate Container Library URL

FAQ

What is the apptainer-push command used for?

apptainer push uploads container images to remote registries including the Sylabs Container Library and OCI-compatible registries. This enables sharing containers with collaborators and deploying containers to production environments. Authentication is required for most registries. Use apptainer remote login to configure credentials before pushing.

How do I run a basic apptainer-push example?

Run `apptainer push [path/to/image.sif] library://[user/collection/container]:[tag]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -U, --allow-unsigned do in apptainer-push?

Allow pushing unsigned containers to the library