HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

apptainer push — Push container images to remote registries. See also: `apptainer-pull`. More information: <https://a

Submitted by: @import:tldr-pages··
0
Viewed 0 times
registriescommandpushimagesclicontainerapptainer pushremote
linux

Problem

How to use the apptainer push command: Push container images to remote registries. See also: apptainer-pull. More information: <https://apptainer.org/docs/user/main/cli/apptainer_push.html>.

Solution

apptainer push — Push container images to remote registries. See also: apptainer-pull. More information: <https://apptainer.org/docs/user/main/cli/apptainer_push.html>.

Push a container to the Container Library:
apptainer push {{path/to/image.sif}} library://{{user/collection/container}}:{{tag}}


Push a container to an OCI registry:
apptainer push {{path/to/image.sif}} oras://{{registry/namespace/image}}:{{tag}}


Push an unsigned container (skip signature verification):
apptainer push {{[-U|--allow-unsigned]}} {{path/to/image.sif}} library://{{user/collection/container}}:{{tag}}


Push a container with a description (library only):
apptainer push {{[-D|--description]}} "{{description}}" {{path/to/image.sif}} library://{{user/collection/container}}:{{tag}}


Display help:
apptainer push {{[-h|--help]}}

Code Snippets

Push a container to the Container Library

apptainer push {{path/to/image.sif}} library://{{user/collection/container}}:{{tag}}

Push a container to an OCI registry

apptainer push {{path/to/image.sif}} oras://{{registry/namespace/image}}:{{tag}}

Push an unsigned container (skip signature verification)

apptainer push {{[-U|--allow-unsigned]}} {{path/to/image.sif}} library://{{user/collection/container}}:{{tag}}

Push a container with a description (library only)

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

Display help

apptainer push {{[-h|--help]}}

Context

tldr-pages: linux/apptainer push

Revisions (0)

No revisions yet.