.nh .TH "LXD - Command line client" "1" "Apr 2024" "Auto generated by spf13/cobra" "" .SH NAME .PP lxc-init - Create instances from images .SH SYNOPSIS .PP \fBlxc init [:] [:][] [flags]\fP .SH DESCRIPTION .PP Description: Create instances from images .SH OPTIONS .PP \fB-c\fP, \fB--config\fP=[] Config key/value to apply to the new instance`` .PP \fB-d\fP, \fB--device\fP=[] New key/value to apply to a specific device`` .PP \fB--empty\fP[=false] Create an empty instance .PP \fB-e\fP, \fB--ephemeral\fP[=false] Ephemeral instance .PP \fB-n\fP, \fB--network\fP="" Network name`` .PP \fB--no-profiles\fP[=false] Create the instance with no profiles applied .PP \fB-p\fP, \fB--profile\fP=[] Profile to apply to the new instance`` .PP \fB-s\fP, \fB--storage\fP="" Storage pool name`` .PP \fB--target\fP="" Cluster member name`` .PP \fB-t\fP, \fB--type\fP="" Instance type`` .PP \fB--vm\fP[=false] Create a virtual machine .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 EXAMPLE .EX lxc init ubuntu:22.04 u1 lxc init ubuntu:22.04 u1 < config.yaml Create the instance with configuration from config.yaml .EE .SH SEE ALSO .PP \fBlxc(1)\fP .SH HISTORY .PP 11-Apr-2024 Auto generated by spf13/cobra