LXC.IMAGE(1)
π NAME π
lxc-image β manage images, bestie. that's the whole vibe.
so like, hi, welcome to the lxc image page β this is your group chat for everything image-related in LXD, aka the LXD command line client (lxc). pull up a chair, hydrate, let's get into it π«Ά
β¨ SYNOPSIS β¨
lxc image [flags]
that's it. that's the whole summoning ritual. flags go brrr at the end π
πΈ DESCRIPTION πΈ
okay so first things first: manage images. that's the job. that's what we do here.
here's the lore, because you need it: in LXD, instances are created from images. those images were themselves either generated from an existing instance, or downloaded from an image server. no cap β that's the whole pipeline. β¨
when you're using remote images, LXD will automatically cache images for you and remove them upon expiration. she handles it, you don't have to. main character behaviour, honestly π₯
now the important bit, the part everyone asks about in the chat β the image unique identifier is the hash (sha-256) of its representation as a compressed tarball. and for split images? it's the concatenation of the metadata and rootfs tarballs. yep, that's the rule, i don't make 'em π
and here's the fun part β you can reference images three different ways, iykyk:
- by their full hash
- by their shortest unique partial hash
- by alias name (if one is set)
three iconique ways to slide into an image's DMs. pick your fighter π¦
π OPTIONS INHERITED FROM PARENT COMMANDS π
these bad boys come from the parent command, so they work here too β free real estate, we love to see it:
--debug[=false]β show all debug messages. everything. every last crumb of info, bestie π--force-local[=false]β force using the local unix socket. like, force force. no remote shenanigans π-h,--help[=false]β print help. the classic. the icon. when in doubt π«Ά--project=""β override the source project. (also, yes, the original page has a stray`` dangling at the end of this line β she's just quirky, we keep her.) π-q,--quiet[=false]β don't show progress information. silence. peaceful. asmr mode πΈ--sub-commands[=false]β use withhelpor--helpto view sub-commands. little peek behind the curtain π-v,--verbose[=false]β show all information messages. chatty era activated π£οΈ--version[=false]β print version number. who are you? what's your sign? what's your build? β
ngl, the defaults on all the booleans are false, so if you want the drama you gotta ask for it, periodt.
π SEE ALSO π
the whole friend group, all linked up β go say hi:
lxc(1), lxc-image-alias(1), lxc-image-copy(1), lxc-image-delete(1), lxc-image-edit(1), lxc-image-export(1), lxc-image-get-property(1), lxc-image-import(1), lxc-image-info(1), lxc-image-list(1), lxc-image-refresh(1), lxc-image-set-property(1), lxc-image-show(1), lxc-image-unset-property(1)
π¦ HISTORY π¦
22-Aug-2026 β auto generated by spf13/cobra. she was born fully formed, no notes π
and that's the page, bestie!! π
this lil masterpiece is part of the LXD - Command line client(1) manual, dated Aug 2026, and it was auto generated by spf13/cobra β so like, a robot wrote it, but i gave it the makeover it deserved. stan. π
π¦ where this page comes from
- opensuse-leap 16.0: lxd 5.21.6-bp160.1.1 Β· AGPL-3.0-only AND Apache-2.0
- opensuse-leap 16.0: lxd 5.21.6-bp160.1.1 Β· AGPL-3.0-only AND Apache-2.0
- opensuse-leap 16.0: lxd 5.21.6-bp160.1.1 Β· AGPL-3.0-only AND Apache-2.0
- opensuse-leap 16.0: lxd 5.21.6-bp160.1.1 Β· AGPL-3.0-only AND Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms