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 | --name name β€” 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 | --id ID β€” 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 | --metadata metadata-value β€” sets the metadata for the image to the value you typed. boom. done. πŸ“
  • -f | --metadata-file metadata-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:


⚠️ 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