LXC.PUBLISH(1)
π NAME π
lxc-publish β publish instances as images β¨
okay so real quick, bestie β this page lives inside the LXD - Command line client(1) manual, and it's all about turning your instance into a shiny lil image. slay.
π SYNOPSIS π
lxc publish [:][/] [:] [flags] [key=value...]
that's the whole vibe. flags, a couple of colon-slash situation things, and as many key=value pairs as your heart desires. periodt.
πΈ DESCRIPTION πΈ
Description:
Publish instances as images π
like, yes, that's literally it β you take an instance and you publish it as an image. main character transformation arc, honestly. π¦
β¨ OPTIONS β¨
--alias=[]β a new alias you want to define at the target. iconic naming moment, your call. π--compression=""β which compression algorithm to use. passnoneif you want it uncompressed, no cap.--expire=""β the image expiration date. format isrfc3339, so keep it cute and keep it compliant. π-f,--force[=false]β stop the instance if it's currently running. yes, it will stop it. that's the whole point. π--public[=false]β make the image public, meaning it's accessible to unauthenticated clients too. bestie, read that twice β unauthenticated clients as well. π--reuse[=false]β if that image alias already exists, delete it and create a new one. out with the old, in with the new. π₯
π«Ά OPTIONS INHERITED FROM PARENT COMMANDS π«Ά
these ones come from the parent command, so they're just chilling here for reference:
--debug[=false]β show all debug messages. all of them. every last one. π--force-local[=false]β force using the local unix socket.-h,--help[=false]β print help. the classic. the icon. π--project=""β override the source project.-q,--quiet[=false]β don't show progress information. silence is golden, ngl.--sub-commands[=false]β use withhelpor--helpto view sub-commands.-v,--verbose[=false]β show all information messages. talk to me, tell me everything. π¬--version[=false]β print version number.
π SEE ALSO π
lxc(1)β the mothership. go read that one too, iykyk. π§
π HISTORY π
22-Aug-2026β Auto generated by spf13/cobra.
okay and that's the page!! π tiny little sign-off for the footer deets: this was Auto generated by spf13/cobra, dated Aug 2026, and it belongs to LXD - Command line client(1). mwah, go publish something gorgeous π β¨
π¦ 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