]> git.proxmox.com Git - pve-docs.git/blame - pct.1-synopsis.adoc
storage: fixup PBS wiki link
[pve-docs.git] / pct.1-synopsis.adoc
CommitLineData
1f554f76
DM
1*pct* `<COMMAND> [ARGS] [OPTIONS]`
2
27a7acb2 3*pct clone* `<vmid> <newid>` `[OPTIONS]`
9b3e4991
DM
4
5Create a container clone/copy
6
013dc89f 7`<vmid>`: `<integer> (1 - N)` ::
9b3e4991
DM
8
9The (unique) ID of the VM.
10
013dc89f 11`<newid>`: `<integer> (1 - N)` ::
9b3e4991
DM
12
13VMID for the clone.
14
95895385
TL
15`--bwlimit` `<number> (0 - N)` ('default =' `clone limit from datacenter or storage config`)::
16
17Override I/O bandwidth limit (in KiB/s).
18
2489d6df 19`--description` `<string>` ::
9b3e4991
DM
20
21Description for the new CT.
22
27a7acb2 23`--full` `<boolean>` ::
9b3e4991 24
27a7acb2 25Create a full copy of all disks. This is always done when you clone a normal CT. For CT templates, we try to create a linked clone by default.
9b3e4991 26
2489d6df 27`--hostname` `<string>` ::
9b3e4991
DM
28
29Set a hostname for the new CT.
30
2489d6df 31`--pool` `<string>` ::
9b3e4991
DM
32
33Add the new CT to the specified pool.
34
2489d6df 35`--snapname` `<string>` ::
9b3e4991
DM
36
37The name of the snapshot.
38
2489d6df 39`--storage` `<string>` ::
9b3e4991
DM
40
41Target storage for full clone.
27a7acb2
DM
42
43`--target` `<string>` ::
44
45Target node. Only allowed if the original VM is on shared storage.
9b3e4991 46
5f26e15b 47*pct config* `<vmid>` `[OPTIONS]`
1f554f76
DM
48
49Get container configuration.
50
013dc89f 51`<vmid>`: `<integer> (1 - N)` ::
1f554f76
DM
52
53The (unique) ID of the VM.
54
1c532546
TL
55`--current` `<boolean>` ('default =' `0`)::
56
57Get current values (instead of pending values).
58
5f26e15b
TL
59`--snapshot` `<string>` ::
60
61Fetch config values from given snapshot.
62
4d47f125 63*pct console* `<vmid>` `[OPTIONS]`
1f554f76
DM
64
65Launch a console for the specified container.
66
013dc89f 67`<vmid>`: `<integer> (1 - N)` ::
1f554f76
DM
68
69The (unique) ID of the VM.
70
4d47f125
TL
71`--escape` `\^?[a-z]` ('default =' `^a`)::
72
73Escape sequence prefix. For example to use <Ctrl+b q> as the escape sequence pass '^b'.
74
de0983cb
DM
75*pct cpusets*
76
77Print the list of assigned CPU sets.
78
1f554f76
DM
79*pct create* `<vmid> <ostemplate>` `[OPTIONS]`
80
81Create or restore a container.
82
013dc89f 83`<vmid>`: `<integer> (1 - N)` ::
1f554f76
DM
84
85The (unique) ID of the VM.
86
013dc89f 87`<ostemplate>`: `<string>` ::
1f554f76
DM
88
89The OS template or backup file.
90
4d47f125 91`--arch` `<amd64 | arm64 | armhf | i386>` ('default =' `amd64`)::
1f554f76
DM
92
93OS architecture type.
94
95895385 95`--bwlimit` `<number> (0 - N)` ('default =' `restore limit from datacenter or storage config`)::
27a7acb2 96
95895385 97Override I/O bandwidth limit (in KiB/s).
27a7acb2 98
2489d6df 99`--cmode` `<console | shell | tty>` ('default =' `tty`)::
1f554f76 100
c2993fe5 101Console mode. By default, the console command tries to open a connection to one of the available tty devices. By setting cmode to 'console' it tries to attach to /dev/console instead. If you set cmode to 'shell', it simply invokes a shell inside the container (no login).
1f554f76 102
2489d6df 103`--console` `<boolean>` ('default =' `1`)::
1f554f76
DM
104
105Attach a console device (/dev/console) to the container.
106
2489d6df 107`--cores` `<integer> (1 - 128)` ::
de0983cb
DM
108
109The number of cores assigned to the container. A container can use all available cores by default.
110
2489d6df 111`--cpulimit` `<number> (0 - 128)` ('default =' `0`)::
1f554f76 112
9b3e4991
DM
113Limit of CPU usage.
114+
c2993fe5 115NOTE: If the computer has 2 CPUs, it has a total of '2' CPU time. Value '0' indicates no CPU limit.
1f554f76 116
2489d6df 117`--cpuunits` `<integer> (0 - 500000)` ('default =' `1024`)::
1f554f76 118
c2993fe5 119CPU weight for a VM. Argument is used in the kernel fair scheduler. The larger the number is, the more CPU time this VM gets. Number is relative to the weights of all the other running VMs.
9b3e4991 120+
1f554f76
DM
121NOTE: You can disable fair-scheduler configuration by setting this to 0.
122
2489d6df 123`--description` `<string>` ::
1f554f76
DM
124
125Container description. Only used on the configuration web interface.
126
c5aa7e14 127`--features` `[force_rw_sys=<1|0>] [,fuse=<1|0>] [,keyctl=<1|0>] [,mknod=<1|0>] [,mount=<fstype;fstype;...>] [,nesting=<1|0>]` ::
4d47f125
TL
128
129Allow containers access to advanced features.
130
2489d6df 131`--force` `<boolean>` ::
1f554f76
DM
132
133Allow to overwrite existing container.
134
5f26e15b
TL
135`--hookscript` `<string>` ::
136
137Script that will be exectued during various steps in the containers lifetime.
138
2489d6df 139`--hostname` `<string>` ::
1f554f76
DM
140
141Set a host name for the container.
142
2489d6df 143`--ignore-unpack-errors` `<boolean>` ::
1f554f76
DM
144
145Ignore errors when extracting the template.
146
1c532546 147`--lock` `<backup | create | destroyed | disk | fstrim | migrate | mounted | rollback | snapshot | snapshot-delete>` ::
1f554f76
DM
148
149Lock/unlock the VM.
150
2489d6df 151`--memory` `<integer> (16 - N)` ('default =' `512`)::
1f554f76
DM
152
153Amount of RAM for the VM in MB.
154
7cbed89a 155`--mp[n]` `[volume=]<volume> ,mp=<Path> [,acl=<1|0>] [,backup=<1|0>] [,mountoptions=<opt[;opt...]>] [,quota=<1|0>] [,replicate=<1|0>] [,ro=<1|0>] [,shared=<1|0>] [,size=<DiskSize>]` ::
1f554f76 156
c2993fe5 157Use volume as container mount point.
1f554f76 158
2489d6df 159`--nameserver` `<string>` ::
1f554f76 160
c2993fe5 161Sets DNS server IP address for a container. Create will automatically use the setting from the host if you neither set searchdomain nor nameserver.
1f554f76 162
2489d6df 163`--net[n]` `name=<string> [,bridge=<bridge>] [,firewall=<1|0>] [,gw=<GatewayIPv4>] [,gw6=<GatewayIPv6>] [,hwaddr=<XX:XX:XX:XX:XX:XX>] [,ip=<(IPv4/CIDR|dhcp|manual)>] [,ip6=<(IPv6/CIDR|auto|dhcp|manual)>] [,mtu=<integer>] [,rate=<mbps>] [,tag=<integer>] [,trunks=<vlanid[;vlanid...]>] [,type=<veth>]` ::
1f554f76
DM
164
165Specifies network interfaces for the container.
166
2489d6df 167`--onboot` `<boolean>` ('default =' `0`)::
1f554f76
DM
168
169Specifies whether a VM will be started during system bootup.
170
2489d6df 171`--ostype` `<alpine | archlinux | centos | debian | fedora | gentoo | opensuse | ubuntu | unmanaged>` ::
1f554f76 172
c2993fe5 173OS type. This is used to setup configuration inside the container, and corresponds to lxc setup scripts in /usr/share/lxc/config/<ostype>.common.conf. Value 'unmanaged' can be used to skip and OS specific setup.
1f554f76 174
5da3d723 175`--password` `<password>` ::
1f554f76
DM
176
177Sets root password inside container.
178
2489d6df 179`--pool` `<string>` ::
1f554f76
DM
180
181Add the VM to the specified pool.
182
2489d6df 183`--protection` `<boolean>` ('default =' `0`)::
1f554f76 184
c2993fe5 185Sets the protection flag of the container. This will prevent the CT or CT's disk remove/update operation.
1f554f76 186
2489d6df 187`--restore` `<boolean>` ::
1f554f76
DM
188
189Mark this as restore task.
190
7cbed89a 191`--rootfs` `[volume=]<volume> [,acl=<1|0>] [,mountoptions=<opt[;opt...]>] [,quota=<1|0>] [,replicate=<1|0>] [,ro=<1|0>] [,shared=<1|0>] [,size=<DiskSize>]` ::
1f554f76
DM
192
193Use volume as container root.
194
2489d6df 195`--searchdomain` `<string>` ::
1f554f76 196
c2993fe5 197Sets DNS search domains for a container. Create will automatically use the setting from the host if you neither set searchdomain nor nameserver.
9b3e4991 198
2489d6df 199`--ssh-public-keys` `<filepath>` ::
9b3e4991
DM
200
201Setup public SSH keys (one key per line, OpenSSH format).
1f554f76 202
5da3d723
TL
203`--start` `<boolean>` ('default =' `0`)::
204
205Start the CT after its creation finished successfully.
206
2489d6df 207`--startup` `[[order=]\d+] [,up=\d+] [,down=\d+] ` ::
1f554f76 208
c2993fe5 209Startup and shutdown behavior. Order is a non-negative number defining the general startup order. Shutdown in done with reverse ordering. Additionally you can set the 'up' or 'down' delay in seconds, which specifies a delay to wait before the next VM is started or stopped.
1f554f76 210
2489d6df 211`--storage` `<string>` ('default =' `local`)::
1f554f76
DM
212
213Default Storage.
214
2489d6df 215`--swap` `<integer> (0 - N)` ('default =' `512`)::
1f554f76
DM
216
217Amount of SWAP for the VM in MB.
218
5c1699e5
TL
219`--tags` `<string>` ::
220
221Tags of the Container. This is only meta information.
222
2489d6df 223`--template` `<boolean>` ('default =' `0`)::
1f554f76
DM
224
225Enable/disable Template.
226
04d22a9f
TL
227`--timezone` `<string>` ::
228
229Time zone to use in the container. If option isn't set, then nothing will be done. Can be set to 'host' to match the host time zone, or an arbitrary time zone option from /usr/share/zoneinfo/zone.tab
230
2489d6df 231`--tty` `<integer> (0 - 6)` ('default =' `2`)::
1f554f76
DM
232
233Specify the number of tty available to the container
234
95895385
TL
235`--unique` `<boolean>` ::
236
237Assign a unique random ethernet address.
238+
239NOTE: Requires option(s): `restore`
240
2489d6df 241`--unprivileged` `<boolean>` ('default =' `0`)::
1f554f76 242
c2993fe5 243Makes the container run as unprivileged user. (Should not be modified manually.)
1f554f76 244
c5aa7e14 245`--unused[n]` `[volume=]<volume>` ::
1f554f76 246
c2993fe5 247Reference to unused volumes. This is used internally, and should not be modified manually.
1f554f76 248
1f554f76
DM
249*pct delsnapshot* `<vmid> <snapname>` `[OPTIONS]`
250
251Delete a LXC snapshot.
252
013dc89f 253`<vmid>`: `<integer> (1 - N)` ::
1f554f76
DM
254
255The (unique) ID of the VM.
256
013dc89f 257`<snapname>`: `<string>` ::
1f554f76
DM
258
259The name of the snapshot.
260
2489d6df 261`--force` `<boolean>` ::
1f554f76
DM
262
263For removal from config file, even if removing disk snapshots fails.
264
1c532546 265*pct destroy* `<vmid>` `[OPTIONS]`
1f554f76
DM
266
267Destroy the container (also delete all uses files).
268
013dc89f 269`<vmid>`: `<integer> (1 - N)` ::
1f554f76
DM
270
271The (unique) ID of the VM.
272
c5aa7e14
TL
273`--force` `<boolean>` ('default =' `0`)::
274
275Force destroy, even if running.
276
277`--purge` `<boolean>` ('default =' `0`)::
1c532546 278
c5aa7e14 279Remove container from all related configurations. For example, backup jobs, replication jobs or HA. Related ACLs and Firewall entries will *always* be removed.
1c532546 280
2c0dde61
DM
281*pct df* `<vmid>`
282
283Get the container's current disk usage.
284
013dc89f 285`<vmid>`: `<integer> (1 - N)` ::
2c0dde61
DM
286
287The (unique) ID of the VM.
288
1f554f76
DM
289*pct enter* `<vmid>`
290
291Launch a shell for the specified container.
292
013dc89f 293`<vmid>`: `<integer> (1 - N)` ::
1f554f76
DM
294
295The (unique) ID of the VM.
296
1f554f76
DM
297*pct exec* `<vmid> [<extra-args>]`
298
299Launch a command inside the specified container.
300
013dc89f 301`<vmid>`: `<integer> (1 - N)` ::
1f554f76
DM
302
303The (unique) ID of the VM.
304
013dc89f 305`<extra-args>`: `<array>` ::
1f554f76
DM
306
307Extra arguments as array
308
1f554f76
DM
309*pct fsck* `<vmid>` `[OPTIONS]`
310
311Run a filesystem check (fsck) on a container volume.
312
013dc89f 313`<vmid>`: `<integer> (1 - N)` ::
1f554f76
DM
314
315The (unique) ID of the VM.
316
4d47f125 317`--device` `<mp0 | mp1 | mp10 | mp100 | mp101 | mp102 | mp103 | mp104 | mp105 | mp106 | mp107 | mp108 | mp109 | mp11 | mp110 | mp111 | mp112 | mp113 | mp114 | mp115 | mp116 | mp117 | mp118 | mp119 | mp12 | mp120 | mp121 | mp122 | mp123 | mp124 | mp125 | mp126 | mp127 | mp128 | mp129 | mp13 | mp130 | mp131 | mp132 | mp133 | mp134 | mp135 | mp136 | mp137 | mp138 | mp139 | mp14 | mp140 | mp141 | mp142 | mp143 | mp144 | mp145 | mp146 | mp147 | mp148 | mp149 | mp15 | mp150 | mp151 | mp152 | mp153 | mp154 | mp155 | mp156 | mp157 | mp158 | mp159 | mp16 | mp160 | mp161 | mp162 | mp163 | mp164 | mp165 | mp166 | mp167 | mp168 | mp169 | mp17 | mp170 | mp171 | mp172 | mp173 | mp174 | mp175 | mp176 | mp177 | mp178 | mp179 | mp18 | mp180 | mp181 | mp182 | mp183 | mp184 | mp185 | mp186 | mp187 | mp188 | mp189 | mp19 | mp190 | mp191 | mp192 | mp193 | mp194 | mp195 | mp196 | mp197 | mp198 | mp199 | mp2 | mp20 | mp200 | mp201 | mp202 | mp203 | mp204 | mp205 | mp206 | mp207 | mp208 | mp209 | mp21 | mp210 | mp211 | mp212 | mp213 | mp214 | mp215 | mp216 | mp217 | mp218 | mp219 | mp22 | mp220 | mp221 | mp222 | mp223 | mp224 | mp225 | mp226 | mp227 | mp228 | mp229 | mp23 | mp230 | mp231 | mp232 | mp233 | mp234 | mp235 | mp236 | mp237 | mp238 | mp239 | mp24 | mp240 | mp241 | mp242 | mp243 | mp244 | mp245 | mp246 | mp247 | mp248 | mp249 | mp25 | mp250 | mp251 | mp252 | mp253 | mp254 | mp255 | mp26 | mp27 | mp28 | mp29 | mp3 | mp30 | mp31 | mp32 | mp33 | mp34 | mp35 | mp36 | mp37 | mp38 | mp39 | mp4 | mp40 | mp41 | mp42 | mp43 | mp44 | mp45 | mp46 | mp47 | mp48 | mp49 | mp5 | mp50 | mp51 | mp52 | mp53 | mp54 | mp55 | mp56 | mp57 | mp58 | mp59 | mp6 | mp60 | mp61 | mp62 | mp63 | mp64 | mp65 | mp66 | mp67 | mp68 | mp69 | mp7 | mp70 | mp71 | mp72 | mp73 | mp74 | mp75 | mp76 | mp77 | mp78 | mp79 | mp8 | mp80 | mp81 | mp82 | mp83 | mp84 | mp85 | mp86 | mp87 | mp88 | mp89 | mp9 | mp90 | mp91 | mp92 | mp93 | mp94 | mp95 | mp96 | mp97 | mp98 | mp99 | rootfs>` ::
1f554f76
DM
318
319A volume on which to run the filesystem check
320
2489d6df 321`--force` `<boolean>` ('default =' `0`)::
1f554f76
DM
322
323Force checking, even if the filesystem seems clean
324
95895385
TL
325*pct fstrim* `<vmid>`
326
327Run fstrim on a chosen CT and its mountpoints.
328
329`<vmid>`: `<integer> (1 - N)` ::
330
331The (unique) ID of the VM.
332
35a75dd3 333*pct help* `[OPTIONS]`
1f554f76
DM
334
335Get help about specified command.
336
35a75dd3 337`--extra-args` `<array>` ::
1f554f76 338
35a75dd3 339Shows help for a specific command
1f554f76 340
2489d6df 341`--verbose` `<boolean>` ::
1f554f76
DM
342
343Verbose output format.
344
1f554f76
DM
345*pct list*
346
347LXC container index (per node).
348
1f554f76
DM
349*pct listsnapshot* `<vmid>`
350
351List all snapshots.
352
013dc89f 353`<vmid>`: `<integer> (1 - N)` ::
1f554f76
DM
354
355The (unique) ID of the VM.
356
1f554f76
DM
357*pct migrate* `<vmid> <target>` `[OPTIONS]`
358
359Migrate the container to another node. Creates a new migration task.
360
013dc89f 361`<vmid>`: `<integer> (1 - N)` ::
1f554f76
DM
362
363The (unique) ID of the VM.
364
013dc89f 365`<target>`: `<string>` ::
1f554f76
DM
366
367Target node.
368
95895385
TL
369`--bwlimit` `<number> (0 - N)` ('default =' `migrate limit from datacenter or storage config`)::
370
371Override I/O bandwidth limit (in KiB/s).
372
2489d6df 373`--force` `<boolean>` ::
9b3e4991 374
de0983cb 375Force migration despite local bind / device mounts. NOTE: deprecated, use 'shared' property of mount point instead.
9b3e4991 376
2489d6df 377`--online` `<boolean>` ::
1f554f76
DM
378
379Use online/live migration.
380
2489d6df 381`--restart` `<boolean>` ::
6875b729
DM
382
383Use restart migration
384
2489d6df 385`--timeout` `<integer>` ('default =' `180`)::
6875b729
DM
386
387Timeout in seconds for shutdown for restart migration
388
9b3e4991
DM
389*pct mount* `<vmid>`
390
391Mount the container's filesystem on the host. This will hold a lock on the
392container and is meant for emergency maintenance only as it will prevent
393further operations on the container other than start and stop.
394
013dc89f 395`<vmid>`: `<integer> (1 - N)` ::
9b3e4991
DM
396
397The (unique) ID of the VM.
398
27a7acb2
DM
399*pct move_volume* `<vmid> <volume> <storage>` `[OPTIONS]`
400
401Move a rootfs-/mp-volume to a different storage
402
403`<vmid>`: `<integer> (1 - N)` ::
404
405The (unique) ID of the VM.
406
4d47f125 407`<volume>`: `<mp0 | mp1 | mp10 | mp100 | mp101 | mp102 | mp103 | mp104 | mp105 | mp106 | mp107 | mp108 | mp109 | mp11 | mp110 | mp111 | mp112 | mp113 | mp114 | mp115 | mp116 | mp117 | mp118 | mp119 | mp12 | mp120 | mp121 | mp122 | mp123 | mp124 | mp125 | mp126 | mp127 | mp128 | mp129 | mp13 | mp130 | mp131 | mp132 | mp133 | mp134 | mp135 | mp136 | mp137 | mp138 | mp139 | mp14 | mp140 | mp141 | mp142 | mp143 | mp144 | mp145 | mp146 | mp147 | mp148 | mp149 | mp15 | mp150 | mp151 | mp152 | mp153 | mp154 | mp155 | mp156 | mp157 | mp158 | mp159 | mp16 | mp160 | mp161 | mp162 | mp163 | mp164 | mp165 | mp166 | mp167 | mp168 | mp169 | mp17 | mp170 | mp171 | mp172 | mp173 | mp174 | mp175 | mp176 | mp177 | mp178 | mp179 | mp18 | mp180 | mp181 | mp182 | mp183 | mp184 | mp185 | mp186 | mp187 | mp188 | mp189 | mp19 | mp190 | mp191 | mp192 | mp193 | mp194 | mp195 | mp196 | mp197 | mp198 | mp199 | mp2 | mp20 | mp200 | mp201 | mp202 | mp203 | mp204 | mp205 | mp206 | mp207 | mp208 | mp209 | mp21 | mp210 | mp211 | mp212 | mp213 | mp214 | mp215 | mp216 | mp217 | mp218 | mp219 | mp22 | mp220 | mp221 | mp222 | mp223 | mp224 | mp225 | mp226 | mp227 | mp228 | mp229 | mp23 | mp230 | mp231 | mp232 | mp233 | mp234 | mp235 | mp236 | mp237 | mp238 | mp239 | mp24 | mp240 | mp241 | mp242 | mp243 | mp244 | mp245 | mp246 | mp247 | mp248 | mp249 | mp25 | mp250 | mp251 | mp252 | mp253 | mp254 | mp255 | mp26 | mp27 | mp28 | mp29 | mp3 | mp30 | mp31 | mp32 | mp33 | mp34 | mp35 | mp36 | mp37 | mp38 | mp39 | mp4 | mp40 | mp41 | mp42 | mp43 | mp44 | mp45 | mp46 | mp47 | mp48 | mp49 | mp5 | mp50 | mp51 | mp52 | mp53 | mp54 | mp55 | mp56 | mp57 | mp58 | mp59 | mp6 | mp60 | mp61 | mp62 | mp63 | mp64 | mp65 | mp66 | mp67 | mp68 | mp69 | mp7 | mp70 | mp71 | mp72 | mp73 | mp74 | mp75 | mp76 | mp77 | mp78 | mp79 | mp8 | mp80 | mp81 | mp82 | mp83 | mp84 | mp85 | mp86 | mp87 | mp88 | mp89 | mp9 | mp90 | mp91 | mp92 | mp93 | mp94 | mp95 | mp96 | mp97 | mp98 | mp99 | rootfs>` ::
27a7acb2
DM
408
409Volume which will be moved.
410
411`<storage>`: `<string>` ::
412
413Target Storage.
414
95895385
TL
415`--bwlimit` `<number> (0 - N)` ('default =' `clone limit from datacenter or storage config`)::
416
417Override I/O bandwidth limit (in KiB/s).
418
27a7acb2
DM
419`--delete` `<boolean>` ('default =' `0`)::
420
421Delete the original volume after successful copy. By default the original is kept as an unused volume entry.
422
423`--digest` `<string>` ::
424
425Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.
426
1c532546
TL
427*pct pending* `<vmid>`
428
429Get container configuration, including pending changes.
430
431`<vmid>`: `<integer> (1 - N)` ::
432
433The (unique) ID of the VM.
434
9b3e4991
DM
435*pct pull* `<vmid> <path> <destination>` `[OPTIONS]`
436
437Copy a file from the container to the local system.
438
013dc89f 439`<vmid>`: `<integer> (1 - N)` ::
9b3e4991
DM
440
441The (unique) ID of the VM.
442
013dc89f 443`<path>`: `<string>` ::
9b3e4991
DM
444
445Path to a file inside the container to pull.
446
013dc89f 447`<destination>`: `<string>` ::
9b3e4991
DM
448
449Destination
450
2489d6df 451`--group` `<string>` ::
9b3e4991
DM
452
453Owner group name or id.
454
2489d6df 455`--perms` `<string>` ::
9b3e4991 456
c2993fe5 457File permissions to use (octal by default, prefix with '0x' for hexadecimal).
9b3e4991 458
2489d6df 459`--user` `<string>` ::
9b3e4991
DM
460
461Owner user name or id.
462
9b3e4991
DM
463*pct push* `<vmid> <file> <destination>` `[OPTIONS]`
464
465Copy a local file to the container.
466
013dc89f 467`<vmid>`: `<integer> (1 - N)` ::
9b3e4991
DM
468
469The (unique) ID of the VM.
470
013dc89f 471`<file>`: `<string>` ::
9b3e4991
DM
472
473Path to a local file.
474
013dc89f 475`<destination>`: `<string>` ::
9b3e4991
DM
476
477Destination inside the container to write to.
478
2489d6df 479`--group` `<string>` ::
9b3e4991 480
c2993fe5 481Owner group name or id. When using a name it must exist inside the container.
9b3e4991 482
2489d6df 483`--perms` `<string>` ::
9b3e4991 484
c2993fe5 485File permissions to use (octal by default, prefix with '0x' for hexadecimal).
9b3e4991 486
2489d6df 487`--user` `<string>` ::
9b3e4991 488
c2993fe5 489Owner user name or id. When using a name it must exist inside the container.
9b3e4991 490
5c1699e5
TL
491*pct reboot* `<vmid>` `[OPTIONS]`
492
493Reboot the container by shutting it down, and starting it again. Applies
494pending changes.
495
496`<vmid>`: `<integer> (1 - N)` ::
497
498The (unique) ID of the VM.
499
500`--timeout` `<integer> (0 - N)` ::
501
502Wait maximal timeout seconds for the shutdown.
503
e2d681b3
TL
504*pct rescan* `[OPTIONS]`
505
506Rescan all storages and update disk sizes and unused disk images.
507
508`--dryrun` `<boolean>` ('default =' `0`)::
509
510Do not actually write changes out to conifg.
511
512`--vmid` `<integer> (1 - N)` ::
513
514The (unique) ID of the VM.
515
1f554f76
DM
516*pct resize* `<vmid> <disk> <size>` `[OPTIONS]`
517
de0983cb 518Resize a container mount point.
1f554f76 519
013dc89f 520`<vmid>`: `<integer> (1 - N)` ::
1f554f76
DM
521
522The (unique) ID of the VM.
523
4d47f125 524`<disk>`: `<mp0 | mp1 | mp10 | mp100 | mp101 | mp102 | mp103 | mp104 | mp105 | mp106 | mp107 | mp108 | mp109 | mp11 | mp110 | mp111 | mp112 | mp113 | mp114 | mp115 | mp116 | mp117 | mp118 | mp119 | mp12 | mp120 | mp121 | mp122 | mp123 | mp124 | mp125 | mp126 | mp127 | mp128 | mp129 | mp13 | mp130 | mp131 | mp132 | mp133 | mp134 | mp135 | mp136 | mp137 | mp138 | mp139 | mp14 | mp140 | mp141 | mp142 | mp143 | mp144 | mp145 | mp146 | mp147 | mp148 | mp149 | mp15 | mp150 | mp151 | mp152 | mp153 | mp154 | mp155 | mp156 | mp157 | mp158 | mp159 | mp16 | mp160 | mp161 | mp162 | mp163 | mp164 | mp165 | mp166 | mp167 | mp168 | mp169 | mp17 | mp170 | mp171 | mp172 | mp173 | mp174 | mp175 | mp176 | mp177 | mp178 | mp179 | mp18 | mp180 | mp181 | mp182 | mp183 | mp184 | mp185 | mp186 | mp187 | mp188 | mp189 | mp19 | mp190 | mp191 | mp192 | mp193 | mp194 | mp195 | mp196 | mp197 | mp198 | mp199 | mp2 | mp20 | mp200 | mp201 | mp202 | mp203 | mp204 | mp205 | mp206 | mp207 | mp208 | mp209 | mp21 | mp210 | mp211 | mp212 | mp213 | mp214 | mp215 | mp216 | mp217 | mp218 | mp219 | mp22 | mp220 | mp221 | mp222 | mp223 | mp224 | mp225 | mp226 | mp227 | mp228 | mp229 | mp23 | mp230 | mp231 | mp232 | mp233 | mp234 | mp235 | mp236 | mp237 | mp238 | mp239 | mp24 | mp240 | mp241 | mp242 | mp243 | mp244 | mp245 | mp246 | mp247 | mp248 | mp249 | mp25 | mp250 | mp251 | mp252 | mp253 | mp254 | mp255 | mp26 | mp27 | mp28 | mp29 | mp3 | mp30 | mp31 | mp32 | mp33 | mp34 | mp35 | mp36 | mp37 | mp38 | mp39 | mp4 | mp40 | mp41 | mp42 | mp43 | mp44 | mp45 | mp46 | mp47 | mp48 | mp49 | mp5 | mp50 | mp51 | mp52 | mp53 | mp54 | mp55 | mp56 | mp57 | mp58 | mp59 | mp6 | mp60 | mp61 | mp62 | mp63 | mp64 | mp65 | mp66 | mp67 | mp68 | mp69 | mp7 | mp70 | mp71 | mp72 | mp73 | mp74 | mp75 | mp76 | mp77 | mp78 | mp79 | mp8 | mp80 | mp81 | mp82 | mp83 | mp84 | mp85 | mp86 | mp87 | mp88 | mp89 | mp9 | mp90 | mp91 | mp92 | mp93 | mp94 | mp95 | mp96 | mp97 | mp98 | mp99 | rootfs>` ::
1f554f76
DM
525
526The disk you want to resize.
527
013dc89f 528`<size>`: `\+?\d+(\.\d+)?[KMGT]?` ::
1f554f76 529
c2993fe5 530The new size. With the '+' sign the value is added to the actual size of the volume and without it, the value is taken as an absolute one. Shrinking disk size is not supported.
1f554f76 531
2489d6df 532`--digest` `<string>` ::
1f554f76 533
c2993fe5 534Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.
1f554f76 535
1f554f76
DM
536*pct restore* `<vmid> <ostemplate>` `[OPTIONS]`
537
538Create or restore a container.
539
013dc89f 540`<vmid>`: `<integer> (1 - N)` ::
1f554f76
DM
541
542The (unique) ID of the VM.
543
013dc89f 544`<ostemplate>`: `<string>` ::
1f554f76
DM
545
546The OS template or backup file.
547
4d47f125 548`--arch` `<amd64 | arm64 | armhf | i386>` ('default =' `amd64`)::
1f554f76
DM
549
550OS architecture type.
551
95895385 552`--bwlimit` `<number> (0 - N)` ('default =' `restore limit from datacenter or storage config`)::
27a7acb2 553
95895385 554Override I/O bandwidth limit (in KiB/s).
27a7acb2 555
2489d6df 556`--cmode` `<console | shell | tty>` ('default =' `tty`)::
1f554f76 557
c2993fe5 558Console mode. By default, the console command tries to open a connection to one of the available tty devices. By setting cmode to 'console' it tries to attach to /dev/console instead. If you set cmode to 'shell', it simply invokes a shell inside the container (no login).
1f554f76 559
2489d6df 560`--console` `<boolean>` ('default =' `1`)::
1f554f76
DM
561
562Attach a console device (/dev/console) to the container.
563
2489d6df 564`--cores` `<integer> (1 - 128)` ::
de0983cb
DM
565
566The number of cores assigned to the container. A container can use all available cores by default.
567
2489d6df 568`--cpulimit` `<number> (0 - 128)` ('default =' `0`)::
1f554f76 569
9b3e4991
DM
570Limit of CPU usage.
571+
c2993fe5 572NOTE: If the computer has 2 CPUs, it has a total of '2' CPU time. Value '0' indicates no CPU limit.
1f554f76 573
2489d6df 574`--cpuunits` `<integer> (0 - 500000)` ('default =' `1024`)::
1f554f76 575
c2993fe5 576CPU weight for a VM. Argument is used in the kernel fair scheduler. The larger the number is, the more CPU time this VM gets. Number is relative to the weights of all the other running VMs.
9b3e4991 577+
1f554f76
DM
578NOTE: You can disable fair-scheduler configuration by setting this to 0.
579
2489d6df 580`--description` `<string>` ::
1f554f76
DM
581
582Container description. Only used on the configuration web interface.
583
c5aa7e14 584`--features` `[force_rw_sys=<1|0>] [,fuse=<1|0>] [,keyctl=<1|0>] [,mknod=<1|0>] [,mount=<fstype;fstype;...>] [,nesting=<1|0>]` ::
4d47f125
TL
585
586Allow containers access to advanced features.
587
2489d6df 588`--force` `<boolean>` ::
1f554f76
DM
589
590Allow to overwrite existing container.
591
5f26e15b
TL
592`--hookscript` `<string>` ::
593
594Script that will be exectued during various steps in the containers lifetime.
595
2489d6df 596`--hostname` `<string>` ::
1f554f76
DM
597
598Set a host name for the container.
599
2489d6df 600`--ignore-unpack-errors` `<boolean>` ::
1f554f76
DM
601
602Ignore errors when extracting the template.
603
1c532546 604`--lock` `<backup | create | destroyed | disk | fstrim | migrate | mounted | rollback | snapshot | snapshot-delete>` ::
1f554f76
DM
605
606Lock/unlock the VM.
607
2489d6df 608`--memory` `<integer> (16 - N)` ('default =' `512`)::
1f554f76
DM
609
610Amount of RAM for the VM in MB.
611
7cbed89a 612`--mp[n]` `[volume=]<volume> ,mp=<Path> [,acl=<1|0>] [,backup=<1|0>] [,mountoptions=<opt[;opt...]>] [,quota=<1|0>] [,replicate=<1|0>] [,ro=<1|0>] [,shared=<1|0>] [,size=<DiskSize>]` ::
1f554f76 613
c2993fe5 614Use volume as container mount point.
1f554f76 615
2489d6df 616`--nameserver` `<string>` ::
1f554f76 617
c2993fe5 618Sets DNS server IP address for a container. Create will automatically use the setting from the host if you neither set searchdomain nor nameserver.
1f554f76 619
2489d6df 620`--net[n]` `name=<string> [,bridge=<bridge>] [,firewall=<1|0>] [,gw=<GatewayIPv4>] [,gw6=<GatewayIPv6>] [,hwaddr=<XX:XX:XX:XX:XX:XX>] [,ip=<(IPv4/CIDR|dhcp|manual)>] [,ip6=<(IPv6/CIDR|auto|dhcp|manual)>] [,mtu=<integer>] [,rate=<mbps>] [,tag=<integer>] [,trunks=<vlanid[;vlanid...]>] [,type=<veth>]` ::
1f554f76
DM
621
622Specifies network interfaces for the container.
623
2489d6df 624`--onboot` `<boolean>` ('default =' `0`)::
1f554f76
DM
625
626Specifies whether a VM will be started during system bootup.
627
2489d6df 628`--ostype` `<alpine | archlinux | centos | debian | fedora | gentoo | opensuse | ubuntu | unmanaged>` ::
1f554f76 629
c2993fe5 630OS type. This is used to setup configuration inside the container, and corresponds to lxc setup scripts in /usr/share/lxc/config/<ostype>.common.conf. Value 'unmanaged' can be used to skip and OS specific setup.
1f554f76 631
5da3d723 632`--password` `<password>` ::
1f554f76
DM
633
634Sets root password inside container.
635
2489d6df 636`--pool` `<string>` ::
1f554f76
DM
637
638Add the VM to the specified pool.
639
2489d6df 640`--protection` `<boolean>` ('default =' `0`)::
1f554f76 641
c2993fe5 642Sets the protection flag of the container. This will prevent the CT or CT's disk remove/update operation.
1f554f76 643
7cbed89a 644`--rootfs` `[volume=]<volume> [,acl=<1|0>] [,mountoptions=<opt[;opt...]>] [,quota=<1|0>] [,replicate=<1|0>] [,ro=<1|0>] [,shared=<1|0>] [,size=<DiskSize>]` ::
1f554f76
DM
645
646Use volume as container root.
647
2489d6df 648`--searchdomain` `<string>` ::
1f554f76 649
c2993fe5 650Sets DNS search domains for a container. Create will automatically use the setting from the host if you neither set searchdomain nor nameserver.
9b3e4991 651
2489d6df 652`--ssh-public-keys` `<filepath>` ::
9b3e4991
DM
653
654Setup public SSH keys (one key per line, OpenSSH format).
1f554f76 655
5da3d723
TL
656`--start` `<boolean>` ('default =' `0`)::
657
658Start the CT after its creation finished successfully.
659
2489d6df 660`--startup` `[[order=]\d+] [,up=\d+] [,down=\d+] ` ::
1f554f76 661
c2993fe5 662Startup and shutdown behavior. Order is a non-negative number defining the general startup order. Shutdown in done with reverse ordering. Additionally you can set the 'up' or 'down' delay in seconds, which specifies a delay to wait before the next VM is started or stopped.
1f554f76 663
2489d6df 664`--storage` `<string>` ('default =' `local`)::
1f554f76
DM
665
666Default Storage.
667
2489d6df 668`--swap` `<integer> (0 - N)` ('default =' `512`)::
1f554f76
DM
669
670Amount of SWAP for the VM in MB.
671
5c1699e5
TL
672`--tags` `<string>` ::
673
674Tags of the Container. This is only meta information.
675
2489d6df 676`--template` `<boolean>` ('default =' `0`)::
1f554f76
DM
677
678Enable/disable Template.
679
04d22a9f
TL
680`--timezone` `<string>` ::
681
682Time zone to use in the container. If option isn't set, then nothing will be done. Can be set to 'host' to match the host time zone, or an arbitrary time zone option from /usr/share/zoneinfo/zone.tab
683
2489d6df 684`--tty` `<integer> (0 - 6)` ('default =' `2`)::
1f554f76
DM
685
686Specify the number of tty available to the container
687
95895385
TL
688`--unique` `<boolean>` ::
689
690Assign a unique random ethernet address.
691+
692NOTE: Requires option(s): `restore`
693
2489d6df 694`--unprivileged` `<boolean>` ('default =' `0`)::
1f554f76 695
c2993fe5 696Makes the container run as unprivileged user. (Should not be modified manually.)
1f554f76 697
c5aa7e14 698`--unused[n]` `[volume=]<volume>` ::
1f554f76 699
c2993fe5 700Reference to unused volumes. This is used internally, and should not be modified manually.
1f554f76 701
1f554f76
DM
702*pct resume* `<vmid>`
703
704Resume the container.
705
013dc89f 706`<vmid>`: `<integer> (1 - N)` ::
1f554f76
DM
707
708The (unique) ID of the VM.
709
1f554f76
DM
710*pct rollback* `<vmid> <snapname>`
711
712Rollback LXC state to specified snapshot.
713
013dc89f 714`<vmid>`: `<integer> (1 - N)` ::
1f554f76
DM
715
716The (unique) ID of the VM.
717
013dc89f 718`<snapname>`: `<string>` ::
1f554f76
DM
719
720The name of the snapshot.
721
1f554f76
DM
722*pct set* `<vmid>` `[OPTIONS]`
723
724Set container options.
725
013dc89f 726`<vmid>`: `<integer> (1 - N)` ::
1f554f76
DM
727
728The (unique) ID of the VM.
729
4d47f125 730`--arch` `<amd64 | arm64 | armhf | i386>` ('default =' `amd64`)::
1f554f76
DM
731
732OS architecture type.
733
2489d6df 734`--cmode` `<console | shell | tty>` ('default =' `tty`)::
1f554f76 735
c2993fe5 736Console mode. By default, the console command tries to open a connection to one of the available tty devices. By setting cmode to 'console' it tries to attach to /dev/console instead. If you set cmode to 'shell', it simply invokes a shell inside the container (no login).
1f554f76 737
2489d6df 738`--console` `<boolean>` ('default =' `1`)::
1f554f76
DM
739
740Attach a console device (/dev/console) to the container.
741
2489d6df 742`--cores` `<integer> (1 - 128)` ::
de0983cb
DM
743
744The number of cores assigned to the container. A container can use all available cores by default.
745
2489d6df 746`--cpulimit` `<number> (0 - 128)` ('default =' `0`)::
1f554f76 747
9b3e4991
DM
748Limit of CPU usage.
749+
c2993fe5 750NOTE: If the computer has 2 CPUs, it has a total of '2' CPU time. Value '0' indicates no CPU limit.
1f554f76 751
2489d6df 752`--cpuunits` `<integer> (0 - 500000)` ('default =' `1024`)::
1f554f76 753
c2993fe5 754CPU weight for a VM. Argument is used in the kernel fair scheduler. The larger the number is, the more CPU time this VM gets. Number is relative to the weights of all the other running VMs.
9b3e4991 755+
1f554f76
DM
756NOTE: You can disable fair-scheduler configuration by setting this to 0.
757
2489d6df 758`--delete` `<string>` ::
1f554f76
DM
759
760A list of settings you want to delete.
761
2489d6df 762`--description` `<string>` ::
1f554f76
DM
763
764Container description. Only used on the configuration web interface.
765
2489d6df 766`--digest` `<string>` ::
1f554f76 767
c2993fe5 768Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.
1f554f76 769
c5aa7e14 770`--features` `[force_rw_sys=<1|0>] [,fuse=<1|0>] [,keyctl=<1|0>] [,mknod=<1|0>] [,mount=<fstype;fstype;...>] [,nesting=<1|0>]` ::
4d47f125
TL
771
772Allow containers access to advanced features.
773
5f26e15b
TL
774`--hookscript` `<string>` ::
775
776Script that will be exectued during various steps in the containers lifetime.
777
2489d6df 778`--hostname` `<string>` ::
1f554f76
DM
779
780Set a host name for the container.
781
1c532546 782`--lock` `<backup | create | destroyed | disk | fstrim | migrate | mounted | rollback | snapshot | snapshot-delete>` ::
1f554f76
DM
783
784Lock/unlock the VM.
785
2489d6df 786`--memory` `<integer> (16 - N)` ('default =' `512`)::
1f554f76
DM
787
788Amount of RAM for the VM in MB.
789
7cbed89a 790`--mp[n]` `[volume=]<volume> ,mp=<Path> [,acl=<1|0>] [,backup=<1|0>] [,mountoptions=<opt[;opt...]>] [,quota=<1|0>] [,replicate=<1|0>] [,ro=<1|0>] [,shared=<1|0>] [,size=<DiskSize>]` ::
1f554f76 791
c2993fe5 792Use volume as container mount point.
1f554f76 793
2489d6df 794`--nameserver` `<string>` ::
1f554f76 795
c2993fe5 796Sets DNS server IP address for a container. Create will automatically use the setting from the host if you neither set searchdomain nor nameserver.
1f554f76 797
2489d6df 798`--net[n]` `name=<string> [,bridge=<bridge>] [,firewall=<1|0>] [,gw=<GatewayIPv4>] [,gw6=<GatewayIPv6>] [,hwaddr=<XX:XX:XX:XX:XX:XX>] [,ip=<(IPv4/CIDR|dhcp|manual)>] [,ip6=<(IPv6/CIDR|auto|dhcp|manual)>] [,mtu=<integer>] [,rate=<mbps>] [,tag=<integer>] [,trunks=<vlanid[;vlanid...]>] [,type=<veth>]` ::
1f554f76
DM
799
800Specifies network interfaces for the container.
801
2489d6df 802`--onboot` `<boolean>` ('default =' `0`)::
1f554f76
DM
803
804Specifies whether a VM will be started during system bootup.
805
2489d6df 806`--ostype` `<alpine | archlinux | centos | debian | fedora | gentoo | opensuse | ubuntu | unmanaged>` ::
1f554f76 807
c2993fe5 808OS type. This is used to setup configuration inside the container, and corresponds to lxc setup scripts in /usr/share/lxc/config/<ostype>.common.conf. Value 'unmanaged' can be used to skip and OS specific setup.
1f554f76 809
2489d6df 810`--protection` `<boolean>` ('default =' `0`)::
1f554f76 811
c2993fe5 812Sets the protection flag of the container. This will prevent the CT or CT's disk remove/update operation.
1f554f76 813
1c532546
TL
814`--revert` `<string>` ::
815
816Revert a pending change.
817
7cbed89a 818`--rootfs` `[volume=]<volume> [,acl=<1|0>] [,mountoptions=<opt[;opt...]>] [,quota=<1|0>] [,replicate=<1|0>] [,ro=<1|0>] [,shared=<1|0>] [,size=<DiskSize>]` ::
1f554f76
DM
819
820Use volume as container root.
821
2489d6df 822`--searchdomain` `<string>` ::
1f554f76 823
c2993fe5 824Sets DNS search domains for a container. Create will automatically use the setting from the host if you neither set searchdomain nor nameserver.
1f554f76 825
2489d6df 826`--startup` `[[order=]\d+] [,up=\d+] [,down=\d+] ` ::
1f554f76 827
c2993fe5 828Startup and shutdown behavior. Order is a non-negative number defining the general startup order. Shutdown in done with reverse ordering. Additionally you can set the 'up' or 'down' delay in seconds, which specifies a delay to wait before the next VM is started or stopped.
1f554f76 829
2489d6df 830`--swap` `<integer> (0 - N)` ('default =' `512`)::
1f554f76
DM
831
832Amount of SWAP for the VM in MB.
833
5c1699e5
TL
834`--tags` `<string>` ::
835
836Tags of the Container. This is only meta information.
837
2489d6df 838`--template` `<boolean>` ('default =' `0`)::
1f554f76
DM
839
840Enable/disable Template.
841
04d22a9f
TL
842`--timezone` `<string>` ::
843
844Time zone to use in the container. If option isn't set, then nothing will be done. Can be set to 'host' to match the host time zone, or an arbitrary time zone option from /usr/share/zoneinfo/zone.tab
845
2489d6df 846`--tty` `<integer> (0 - 6)` ('default =' `2`)::
1f554f76
DM
847
848Specify the number of tty available to the container
849
2489d6df 850`--unprivileged` `<boolean>` ('default =' `0`)::
1f554f76 851
c2993fe5 852Makes the container run as unprivileged user. (Should not be modified manually.)
1f554f76 853
c5aa7e14 854`--unused[n]` `[volume=]<volume>` ::
1f554f76 855
c2993fe5 856Reference to unused volumes. This is used internally, and should not be modified manually.
1f554f76 857
1f554f76
DM
858*pct shutdown* `<vmid>` `[OPTIONS]`
859
9b3e4991
DM
860Shutdown the container. This will trigger a clean shutdown of the
861container, see lxc-stop(1) for details.
1f554f76 862
013dc89f 863`<vmid>`: `<integer> (1 - N)` ::
1f554f76
DM
864
865The (unique) ID of the VM.
866
2489d6df 867`--forceStop` `<boolean>` ('default =' `0`)::
1f554f76
DM
868
869Make sure the Container stops.
870
2489d6df 871`--timeout` `<integer> (0 - N)` ('default =' `60`)::
1f554f76
DM
872
873Wait maximal timeout seconds.
874
1f554f76
DM
875*pct snapshot* `<vmid> <snapname>` `[OPTIONS]`
876
877Snapshot a container.
878
013dc89f 879`<vmid>`: `<integer> (1 - N)` ::
1f554f76
DM
880
881The (unique) ID of the VM.
882
013dc89f 883`<snapname>`: `<string>` ::
1f554f76
DM
884
885The name of the snapshot.
886
2489d6df 887`--description` `<string>` ::
1f554f76
DM
888
889A textual description or comment.
890
9b3e4991 891*pct start* `<vmid>` `[OPTIONS]`
1f554f76
DM
892
893Start the container.
894
013dc89f 895`<vmid>`: `<integer> (1 - N)` ::
1f554f76
DM
896
897The (unique) ID of the VM.
898
2489d6df 899`--skiplock` `<boolean>` ::
9b3e4991
DM
900
901Ignore locks - only root is allowed to use this option.
902
2c0dde61
DM
903*pct status* `<vmid>` `[OPTIONS]`
904
905Show CT status.
906
013dc89f 907`<vmid>`: `<integer> (1 - N)` ::
2c0dde61
DM
908
909The (unique) ID of the VM.
910
2489d6df 911`--verbose` `<boolean>` ::
2c0dde61
DM
912
913Verbose output format
914
9b3e4991 915*pct stop* `<vmid>` `[OPTIONS]`
1f554f76 916
9b3e4991
DM
917Stop the container. This will abruptly stop all processes running in the
918container.
1f554f76 919
013dc89f 920`<vmid>`: `<integer> (1 - N)` ::
1f554f76
DM
921
922The (unique) ID of the VM.
923
2489d6df 924`--skiplock` `<boolean>` ::
9b3e4991
DM
925
926Ignore locks - only root is allowed to use this option.
927
1f554f76
DM
928*pct suspend* `<vmid>`
929
930Suspend the container.
931
013dc89f 932`<vmid>`: `<integer> (1 - N)` ::
1f554f76
DM
933
934The (unique) ID of the VM.
935
27a7acb2 936*pct template* `<vmid>`
1f554f76
DM
937
938Create a Template.
939
013dc89f 940`<vmid>`: `<integer> (1 - N)` ::
1f554f76
DM
941
942The (unique) ID of the VM.
943
1f554f76
DM
944*pct unlock* `<vmid>`
945
946Unlock the VM.
947
013dc89f 948`<vmid>`: `<integer> (1 - N)` ::
1f554f76
DM
949
950The (unique) ID of the VM.
951
9b3e4991
DM
952*pct unmount* `<vmid>`
953
954Unmount the container's filesystem.
955
013dc89f 956`<vmid>`: `<integer> (1 - N)` ::
9b3e4991
DM
957
958The (unique) ID of the VM.
959
960