buildah-push(1) General Commands Manual buildah-push(1) (NAME) buildah-push - (SYNOPSIS) buildah push [] image [destination] (DESCRIPTION) (push) . (imageID) (container/storage). (DESTINATION) DESTINATION (push) . containers-transports(5) ( ). docker ( ) . (OPTIONS) --all (manifest list) (image index) . --authfile path . ${XDG_RUNTIME_DIR}/containers/auth.json . containers-auth.json(5) . buildah login . $HOME/.docker/config.json docker login . : REGISTRY_AUTH_FILE : export REGISTRY_AUTH_FILE=path --cert-dir path path (*.crt, *.cert, *.key) . /etc/containers/certs.d . --compression-format format . : gzip zstd zstd:chunked. zstd:chunked zstd . compression_format containers.conf . --compression-level level . zstd ( ) gzip ( ) . compression_level containers.conf . --creds creds [username[:password]] ( ). . . --digestfile Digestfile (digest) . --disable-compression, -D . --encrypt-layer layer(s) () : ( 0 1- ). encryption-key . --encryption-key key [protocol:keyfile] JWE (RFC7516) PGP (RFC4880) PKCS7 (RFC2315) . : jwe:/path/to/key.pem pgp:admin@example.com pkcs7:/path/to/x509-file. --force-compression . --compression-format compression_format containers.conf true false . --format, -f (oci v2s2 v2s1) ( ). --quiet, -q . --remove-signatures . --retry attempts . 3 . --retry-delay duration . 2s . --rm . --sign-by fingerprint GPG (fingerprint) . --tls-verify bool-value HTTPS ( true ). TLS (insecure) . (EXAMPLE) imageID docker (push) . # buildah push imageID dir:/path/to/image imageID oci . # buildah push imageID oci:/path/to/layout:image:tag imageID oci (tar) . # buildah push imageID oci-archive:/path/to/archive:image:tag imageID registry.example.com . # buildah push imageID docker://registry.example.com/repository:tag imageID registry.example.com (digest) digestfile . # buildah push --digestfile=/tmp/mydigest imageID docker://registry.example.com/repository:tag docker push registry.example.com/my_image . # buildah push registry.example.com/my_image imageID /tmp/auths/myauths.json registry.example.com . # buildah push --authfile /tmp/auths/myauths.json imageID docker://registry.example.com/repository:tag imageID . # buildah push imageID docker-daemon:image:tag imageID localhost TLS . # buildah push --tls-verify=false imageID localhost:5000/my-imageID imageID (credentials) localhost . # buildah push --cert-dir ~/auth --tls-verify=true --creds=username:password imageID localhost:5000/my-imageID (ENVIRONMENT) BUILD_REGISTRY_SOURCES BUILD_REGISTRY_SOURCES JSON insecureRegistries blockedRegistries allowedRegistries . blockedRegistries . allowedRegistries . TMPDIR TMPDIR (pull) (push) . '/var/tmp' . (FILES) registries.conf (/etc/containers/registries.conf) registries.conf . policy.json (/etc/containers/policy.json) . . (SEE ALSO) buildah(1), buildah-login(1), containers-policy.json(5), docker- login(1), containers-registries.conf(5), buildah-manifest(1), containers-transports(5), containers-auth.json(5) buildah June 2017 buildah-push(1)