.nh .TH "LXD - Command line client" "1" "Apr 2024" "Auto generated by spf13/cobra" "" .SH NAME .PP lxc-publish - Publish instances as images .SH SYNOPSIS .PP \fBlxc publish [:][/] [:] [flags] [key=value...]\fP .SH DESCRIPTION .PP Description: Publish instances as images .SH OPTIONS .PP \fB--alias\fP=[] New alias to define at target`` .PP \fB--compression\fP="" Compression algorithm to use (\fBnone\fR for uncompressed) .PP \fB--expire\fP="" Image expiration date (format: rfc3339)`` .PP \fB-f\fP, \fB--force\fP[=false] Stop the instance if currently running .PP \fB--public\fP[=false] Make the image public .PP \fB--reuse\fP[=false] If the image alias already exists, delete and create a new one .SH OPTIONS INHERITED FROM PARENT COMMANDS .PP \fB--debug\fP[=false] Show all debug messages .PP \fB--force-local\fP[=false] Force using the local unix socket .PP \fB-h\fP, \fB--help\fP[=false] Print help .PP \fB--project\fP="" Override the source project`` .PP \fB-q\fP, \fB--quiet\fP[=false] Don't show progress information .PP \fB--sub-commands\fP[=false] Use with help or --help to view sub-commands .PP \fB-v\fP, \fB--verbose\fP[=false] Show all information messages .PP \fB--version\fP[=false] Print version number .SH SEE ALSO .PP \fBlxc(1)\fP .SH HISTORY .PP 11-Apr-2024 Auto generated by spf13/cobra