containers...reate-image(1)
π containers-storage-create-image β the glow-up era π
okay bestie, sit down, hydrate, and let me tell you about a lil command from the General Commands Manual that is literally the origin story of every container you've ever loved. it makes images. that's it. that's the gig. π«Ά
β¨ NAME β¨
containers-storage-create-image β Create an image π
π SYNOPSIS π
containers-storage create-image [options...] topLayerNameOrID
πΈ DESCRIPTION πΈ
so here's the vibe: this command creates an image, and it points at the layer you hand it and is like "yeah, this one, this is the basis for all the containers that are gonna be based on this image." π¦
basically you're telling it which layer is the main character, and every container built off that image is gonna be running around wearing that layer's energy. no cap. β¨
π OPTIONS π
-n|--namename β sets an optional name for the image. but listen: if that name is already in use, you get an error back. it's giving "that username is taken" energy, and honestly? fair. π-i|--idID β sets the ID for the image. if you don't specify one, it just generates one for you, like a lil surprise gift you didn't ask for but honestly needed. πβ¨-m|--metadatametadata-value β sets the metadata for the image to the value you typed. boom. done. π-f|--metadata-filemetadata-file β sets the metadata for the image to the contents of the file you point at. perfect for when your metadata is too iconic to fit on one command line. ππ
π EXAMPLE π
here's her in action, serving looks:
containers-storage create-image -f manifest.json -n new-image somelayer
metadata from manifest.json, name of new-image, layer of somelayer. a whole lewk in one line. slay. π₯
π SEE ALSO π
go give her friends some love too, they're all part of the same friend group iykyk:
containers-storage-create-container(1)containers-storage-create-layer(1)containers-storage-delete-image(1)
β οΈ friendly reminder bestie: this page is from the General Commands Manual, and none of these facts change no matter how cute i make them sound. the options are the options, periodt. π
mwah π that's the whole page, written way back in August 2016, living under the name containers...reate-image(1) β she's been iconic since day one and she's still iconic now. go forth and create images, you absolute legend. ππ¦β¨
π¦ where this page comes from
- ubuntu resolute: containers-storage 1.61.0+ds1-6 Β· Apache-2.0
- ubuntu stonking: containers-storage 1.63.0-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms