ramalama-push(1)
π NAME π
ramalama-push β push AI Models from local storage to remote registries β¨
(and yes bestie, you are reading ramalama-push(1), the glow-up edition π
)
π¦ SYNOPSIS π¦
ramalama push [options] model [target]
like. that's the whole incantation. that's it. πͺ
πΈ DESCRIPTION πΈ
okay so, push specified AI Model β and rn it's OCI-only, no cap, that's just where we're at bestie π
Your model can come from RamaLama model storage in Huggingface, Ollama, or the OCI Model format. It can also literally just be a model stored on disk. lowkey flexible of it. π
and if you're sitting there like "I wanna convert but I do NOT wanna push" β not me doing that β you can, using the ramalama convert command instead. iykyk π
π OPTIONS π
--authfile=password
path of the authentication file for OCI registries. your lil key to the castle, fr fr π
--help, -h
Print usage message. when in doubt, ask for help β iconic behaviour honestly π«Ά
--network=none
sets the configuration for network namespaces when handling RUN instructions.
--tls-verify=true
require HTTPS and verify certificates when contacting OCI registries. safe girl summer, we love to see it π
--type=raw | car
type of OCI Model Image to push. here's the tea β:
carβ Includes base image with the model stored in a/modelssubdirrawβ Only the model and a link filemodel.fileto it stored at/
β οΈ Only supported for pushing OCI Model Images. like, ONLY that. do not try this anywhere else bestie, it's not gonna work π
π₯ EXAMPLE π₯
Push and OCI model to registry
$ ramalama push oci://quay.io/rhatdan/tiny:latest
Pushing quay.io/rhatdan/tiny:latest...
Getting image source signatures
Copying blob e0166756db86 skipped: already exists
Copying config ebe856e203 done |
Writing manifest to image destination
Generate an oci model out of an Ollama model and push to registry
$ ramalama push ollama://tinyllama:latest oci://quay.io/rhatdan/tiny:latest
Building quay.io/rhatdan/tiny:latest...
STEP 1/2: FROM scratch
STEP 2/2: COPY sha256:2af3b81862c6be03c769683af18efdadb2c33f60ff32ab6f83e42c043d6c7816 /model
--> Using cache 69db4a10191c976d2c3c24da972a2a909adec45135a69dbb9daeaaf2a3a36344
COMMIT quay.io/rhatdan/tiny:latest
--> 69db4a10191c
Successfully tagged quay.io/rhatdan/tiny:latest
69db4a10191c976d2c3c24da972a2a909adec45135a69dbb9daeaaf2a3a36344
Pushing quay.io/rhatdan/tiny:latest...
Getting image source signatures
Copying blob e0166756db86 skipped: already exists
Copying config 69db4a1019 done |
Writing manifest to image destination
the way that second one builds AND pushes in one go?? main character energy fr π§
π SEE ALSO π
π HISTORY π
Aug 2024, Originally compiled by Eric Curtin ecurtin@redhat.com β¨mailto:ecurtin@redhat.comβ©
shoutout Eric for putting this whole thing together back in Aug 2024, king behaviour π π«Ά
and that's the whole page bestie!! you just read ramalama-push(1) from top to bottom, and that footer line at the bottom of the original? it was just the name again, so consider it mentioned and slayed π
β¨ go push something iconic π¦ππ
π¦ where this page comes from
- fedora 43: ramalama 0.12.3-1.fc43 Β· MIT
- fedora 43: ramalama 0.25.0-1.fc43 Β· MIT
- fedora 44: ramalama 0.17.1-1.fc44 Β· MIT
- fedora 44: ramalama 0.25.0-1.fc44 Β· MIT
- nixos 26.05: ramalama 0.19.0
- nixpkgs unstable: ramalama 0.25.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms