apptainer push
Upload image(s) to the provided URI
Synopsis
The ‘push’ command allows you to upload a SIF container or containers to a given URI. Supported URIs include:
- library:
library://user/collection/container[:tag]
- oras:
oras://registry/namespace/image:tag
Pushing multiple images with different architectures (multi-arch) to an oras URI creates an image index with all the pushed images included. Each image also gets a temporary arch-specific tag created in the push.
NOTE: It’s always good practice to sign your containers before pushing them to the library. An auth token is required to push to the library, so you may need to configure it first with ‘apptainer remote’.
apptainer push [push options...] <image> ... <URI>
Examples
To Library
$ apptainer push /home/user/my.sif library://user/collection/my.sif:latest
To supported OCI registry
$ apptainer push /home/user/my.sif oras://registry/namespace/image:tag
Multiple architectures
$ apptainer push image-amd64.sif image-arm64.sif oras://registry/image
Options
-U, --allow-unsigned[=true|false] do not require a signed container image
--annotation stringArray annotation for container image (oras:// only, key=val format)
--authfile string Docker-style authentication file to use for writing/reading OCI registry credentials
-D, --description string description for container image (library:// and oras:// only)
--docker-host string specify a custom Docker daemon host
-h, --help[=true|false] help for push
--library string the library to push to
--no-https[=true|false] use http instead of https for docker:// oras:// and library://<hostname>/... URIs
SEE ALSO
apptainer - Linux container platform optimized for High Performance Computing (HPC) and Enterprise Performance Computing (EPC)
Auto generated by spf13/cobra on 1-Dec-2026