]> git.proxmox.com Git - pve-docs.git/blame - pct.1-synopsis.adoc
HA: improve docs regarding updates and fencing
[pve-docs.git] / pct.1-synopsis.adoc
CommitLineData
1f554f76
DM
1*pct* `<COMMAND> [ARGS] [OPTIONS]`
2
9b3e4991
DM
3*pct clone* `<vmid> <newid> -experimental <boolean>` `[OPTIONS]`
4
5Create a container clone/copy
6
7`<vmid>` `integer (1 - N)` ::
8
9The (unique) ID of the VM.
10
11`<newid>` `integer (1 - N)` ::
12
13VMID for the clone.
14
15`-description` `string` ::
16
17Description for the new CT.
18
19`-experimental` `boolean` (default=`0`)::
20
21The clone feature is experimental, set this flag if you know what you are
22doing.
23
24`-full` `boolean` (default=`0`)::
25
26Create a full copy of all disk. This is always done when you clone a normal
27CT. For CT templates, we try to create a linked clone by default.
28
29`-hostname` `string` ::
30
31Set a hostname for the new CT.
32
33`-pool` `string` ::
34
35Add the new CT to the specified pool.
36
37`-snapname` `string` ::
38
39The name of the snapshot.
40
41`-storage` `string` ::
42
43Target storage for full clone.
44+
45NOTE: Requires option(s): `full`
46
47
48
49
1f554f76
DM
50*pct config* `<vmid>`
51
52Get container configuration.
53
54`<vmid>` `integer (1 - N)` ::
55
56The (unique) ID of the VM.
57
58
59
60
61*pct console* `<vmid>`
62
63Launch a console for the specified container.
64
65`<vmid>` `integer (1 - N)` ::
66
67The (unique) ID of the VM.
68
69
70
71
72*pct create* `<vmid> <ostemplate>` `[OPTIONS]`
73
74Create or restore a container.
75
76`<vmid>` `integer (1 - N)` ::
77
78The (unique) ID of the VM.
79
80`<ostemplate>` `string` ::
81
82The OS template or backup file.
83
84`-arch` `(amd64 | i386)` (default=`amd64`)::
85
86OS architecture type.
87
88`-cmode` `(console | shell | tty)` (default=`tty`)::
89
90Console mode. By default, the console command tries to open a connection to
91one of the available tty devices. By setting cmode to 'console' it tries to
92attach to /dev/console instead. If you set cmode to 'shell', it simply
93invokes a shell inside the container (no login).
94
95`-console` `boolean` (default=`1`)::
96
97Attach a console device (/dev/console) to the container.
98
99`-cpulimit` `number (0 - 128)` (default=`0`)::
100
9b3e4991
DM
101Limit of CPU usage.
102+
103NOTE: If the computer has 2 CPUs, it has a total of '2' CPU time. Value '0'
104indicates no CPU limit.
1f554f76
DM
105
106`-cpuunits` `integer (0 - 500000)` (default=`1024`)::
107
108CPU weight for a VM. Argument is used in the kernel fair scheduler. The
109larger the number is, the more CPU time this VM gets. Number is relative to
9b3e4991
DM
110the weights of all the other running VMs.
111+
1f554f76
DM
112NOTE: You can disable fair-scheduler configuration by setting this to 0.
113
114`-description` `string` ::
115
116Container description. Only used on the configuration web interface.
117
118`-force` `boolean` ::
119
120Allow to overwrite existing container.
121
122`-hostname` `string` ::
123
124Set a host name for the container.
125
126`-ignore-unpack-errors` `boolean` ::
127
128Ignore errors when extracting the template.
129
130`-lock` `(backup | migrate | rollback | snapshot)` ::
131
132Lock/unlock the VM.
133
134`-memory` `integer (16 - N)` (default=`512`)::
135
136Amount of RAM for the VM in MB.
137
f004f5b9 138`-mp[n]` `[volume=]<volume> ,mp=<Path> [,acl=<1|0>] [,backup=<1|0>] [,quota=<1|0>] [,ro=<1|0>] [,size=<DiskSize>]` ::
1f554f76
DM
139
140Use volume as container mount point (experimental feature).
141
142`-nameserver` `string` ::
143
144Sets DNS server IP address for a container. Create will automatically use
9b3e4991 145the setting from the host if you neither set searchdomain nor nameserver.
1f554f76 146
f004f5b9 147`-net[n]` `name=<string> [,bridge=<bridge>] [,firewall=<1|0>] [,gw=<GatewayIPv4>] [,gw6=<GatewayIPv6>] [,hwaddr=<XX:XX:XX:XX:XX:XX>] [,ip=<IPv4Format/CIDR>] [,ip6=<IPv6Format/CIDR>] [,mtu=<integer>] [,rate=<mbps>] [,tag=<integer>] [,trunks=<vlanid[;vlanid...]>] [,type=<veth>]` ::
1f554f76
DM
148
149Specifies network interfaces for the container.
150
151`-onboot` `boolean` (default=`0`)::
152
153Specifies whether a VM will be started during system bootup.
154
9b3e4991 155`-ostype` `(alpine | archlinux | centos | debian | fedora | opensuse | ubuntu | unmanaged)` ::
1f554f76 156
9b3e4991
DM
157OS type. This is used to setup configuration inside the container, and
158corresponds to lxc setup scripts in
159/usr/share/lxc/config/<ostype>.common.conf. Value 'unmanaged' can be used
160to skip and OS specific setup.
1f554f76 161
9b3e4991 162`-password` ::
1f554f76
DM
163
164Sets root password inside container.
165
166`-pool` `string` ::
167
168Add the VM to the specified pool.
169
170`-protection` `boolean` (default=`0`)::
171
9b3e4991
DM
172Sets the protection flag of the container. This will prevent the CT or CT's
173disk remove/update operation.
1f554f76
DM
174
175`-restore` `boolean` ::
176
177Mark this as restore task.
178
f004f5b9 179`-rootfs` `[volume=]<volume> [,acl=<1|0>] [,backup=<1|0>] [,quota=<1|0>] [,ro=<1|0>] [,size=<DiskSize>]` ::
1f554f76
DM
180
181Use volume as container root.
182
183`-searchdomain` `string` ::
184
185Sets DNS search domains for a container. Create will automatically use the
9b3e4991
DM
186setting from the host if you neither set searchdomain nor nameserver.
187
188`-ssh-public-keys` `filepath` ::
189
190Setup public SSH keys (one key per line, OpenSSH format).
1f554f76
DM
191
192`-startup` `[[order=]\d+] [,up=\d+] [,down=\d+] ` ::
193
194Startup and shutdown behavior. Order is a non-negative number defining the
195general startup order. Shutdown in done with reverse ordering. Additionally
196you can set the 'up' or 'down' delay in seconds, which specifies a delay to
197wait before the next VM is started or stopped.
198
199`-storage` `string` (default=`local`)::
200
201Default Storage.
202
203`-swap` `integer (0 - N)` (default=`512`)::
204
205Amount of SWAP for the VM in MB.
206
207`-template` `boolean` (default=`0`)::
208
209Enable/disable Template.
210
211`-tty` `integer (0 - 6)` (default=`2`)::
212
213Specify the number of tty available to the container
214
215`-unprivileged` `boolean` (default=`0`)::
216
217Makes the container run as unprivileged user. (Should not be modified
218manually.)
219
220`-unused[n]` `string` ::
221
222Reference to unused volumes.
223
224
225
226
227*pct delsnapshot* `<vmid> <snapname>` `[OPTIONS]`
228
229Delete a LXC snapshot.
230
231`<vmid>` `integer (1 - N)` ::
232
233The (unique) ID of the VM.
234
235`<snapname>` `string` ::
236
237The name of the snapshot.
238
239`-force` `boolean` ::
240
241For removal from config file, even if removing disk snapshots fails.
242
243
244
245
246*pct destroy* `<vmid>`
247
248Destroy the container (also delete all uses files).
249
250`<vmid>` `integer (1 - N)` ::
251
252The (unique) ID of the VM.
253
254
255
256
257*pct enter* `<vmid>`
258
259Launch a shell for the specified container.
260
261`<vmid>` `integer (1 - N)` ::
262
263The (unique) ID of the VM.
264
265
266
267*pct exec* `<vmid> [<extra-args>]`
268
269Launch a command inside the specified container.
270
271`<vmid>` `integer (1 - N)` ::
272
273The (unique) ID of the VM.
274
275`<extra-args>` `array` ::
276
277Extra arguments as array
278
279
280
281*pct fsck* `<vmid>` `[OPTIONS]`
282
283Run a filesystem check (fsck) on a container volume.
284
285`<vmid>` `integer (1 - N)` ::
286
287The (unique) ID of the VM.
288
289`-device` `(mp0 | mp1 | mp2 | mp3 | mp4 | mp5 | mp6 | mp7 | mp8 | mp9 | rootfs)` ::
290
291A volume on which to run the filesystem check
292
293`-force` `boolean` (default=`0`)::
294
295Force checking, even if the filesystem seems clean
296
297
298
299
300*pct help* `[<cmd>]` `[OPTIONS]`
301
302Get help about specified command.
303
304`<cmd>` `string` ::
305
306Command name
307
308`-verbose` `boolean` ::
309
310Verbose output format.
311
312
313
314
315*pct list*
316
317LXC container index (per node).
318
319
320
321
322*pct listsnapshot* `<vmid>`
323
324List all snapshots.
325
326`<vmid>` `integer (1 - N)` ::
327
328The (unique) ID of the VM.
329
330
331
332
333*pct migrate* `<vmid> <target>` `[OPTIONS]`
334
335Migrate the container to another node. Creates a new migration task.
336
337`<vmid>` `integer (1 - N)` ::
338
339The (unique) ID of the VM.
340
341`<target>` `string` ::
342
343Target node.
344
9b3e4991
DM
345`-force` `boolean` ::
346
347Force migration despite local bind / device mounts. WARNING: identical bind
348/ device mounts need to be available on the target node.
349
1f554f76
DM
350`-online` `boolean` ::
351
352Use online/live migration.
353
354
355
9b3e4991
DM
356
357*pct mount* `<vmid>`
358
359Mount the container's filesystem on the host. This will hold a lock on the
360container and is meant for emergency maintenance only as it will prevent
361further operations on the container other than start and stop.
362
363`<vmid>` `integer (1 - N)` ::
364
365The (unique) ID of the VM.
366
367
368
369*pct pull* `<vmid> <path> <destination>` `[OPTIONS]`
370
371Copy a file from the container to the local system.
372
373`<vmid>` `integer (1 - N)` ::
374
375The (unique) ID of the VM.
376
377`<path>` `string` ::
378
379Path to a file inside the container to pull.
380
381`<destination>` `string` ::
382
383Destination
384
385`-group` `string` ::
386
387Owner group name or id.
388
389`-perms` `string` ::
390
7aacca6f
DM
391File permissions to use (octal by default, prefix with '0x' for
392hexadecimal).
9b3e4991
DM
393
394`-user` `string` ::
395
396Owner user name or id.
397
398
399
400*pct push* `<vmid> <file> <destination>` `[OPTIONS]`
401
402Copy a local file to the container.
403
404`<vmid>` `integer (1 - N)` ::
405
406The (unique) ID of the VM.
407
408`<file>` `string` ::
409
410Path to a local file.
411
412`<destination>` `string` ::
413
414Destination inside the container to write to.
415
416`-group` `string` ::
417
418Owner group name or id. When using a name it must exist inside the
419container.
420
421`-perms` `string` ::
422
7aacca6f
DM
423File permissions to use (octal by default, prefix with '0x' for
424hexadecimal).
9b3e4991
DM
425
426`-user` `string` ::
427
428Owner user name or id. When using a name it must exist inside the
429container.
430
431
432
433
1f554f76
DM
434*pct resize* `<vmid> <disk> <size>` `[OPTIONS]`
435
436Resize a container mountpoint.
437
438`<vmid>` `integer (1 - N)` ::
439
440The (unique) ID of the VM.
441
442`<disk>` `(mp0 | mp1 | mp2 | mp3 | mp4 | mp5 | mp6 | mp7 | mp8 | mp9 | rootfs)` ::
443
444The disk you want to resize.
445
446`<size>` `\+?\d+(\.\d+)?[KMGT]?` ::
447
448The new size. With the '+' sign the value is added to the actual size of
449the volume and without it, the value is taken as an absolute one. Shrinking
450disk size is not supported.
451
452`-digest` `string` ::
453
454Prevent changes if current configuration file has different SHA1 digest.
455This can be used to prevent concurrent modifications.
456
457
458
459*pct restore* `<vmid> <ostemplate>` `[OPTIONS]`
460
461Create or restore a container.
462
463`<vmid>` `integer (1 - N)` ::
464
465The (unique) ID of the VM.
466
467`<ostemplate>` `string` ::
468
469The OS template or backup file.
470
471`-arch` `(amd64 | i386)` (default=`amd64`)::
472
473OS architecture type.
474
475`-cmode` `(console | shell | tty)` (default=`tty`)::
476
477Console mode. By default, the console command tries to open a connection to
478one of the available tty devices. By setting cmode to 'console' it tries to
479attach to /dev/console instead. If you set cmode to 'shell', it simply
480invokes a shell inside the container (no login).
481
482`-console` `boolean` (default=`1`)::
483
484Attach a console device (/dev/console) to the container.
485
486`-cpulimit` `number (0 - 128)` (default=`0`)::
487
9b3e4991
DM
488Limit of CPU usage.
489+
490NOTE: If the computer has 2 CPUs, it has a total of '2' CPU time. Value '0'
491indicates no CPU limit.
1f554f76
DM
492
493`-cpuunits` `integer (0 - 500000)` (default=`1024`)::
494
495CPU weight for a VM. Argument is used in the kernel fair scheduler. The
496larger the number is, the more CPU time this VM gets. Number is relative to
9b3e4991
DM
497the weights of all the other running VMs.
498+
1f554f76
DM
499NOTE: You can disable fair-scheduler configuration by setting this to 0.
500
501`-description` `string` ::
502
503Container description. Only used on the configuration web interface.
504
505`-force` `boolean` ::
506
507Allow to overwrite existing container.
508
509`-hostname` `string` ::
510
511Set a host name for the container.
512
513`-ignore-unpack-errors` `boolean` ::
514
515Ignore errors when extracting the template.
516
517`-lock` `(backup | migrate | rollback | snapshot)` ::
518
519Lock/unlock the VM.
520
521`-memory` `integer (16 - N)` (default=`512`)::
522
523Amount of RAM for the VM in MB.
524
f004f5b9 525`-mp[n]` `[volume=]<volume> ,mp=<Path> [,acl=<1|0>] [,backup=<1|0>] [,quota=<1|0>] [,ro=<1|0>] [,size=<DiskSize>]` ::
1f554f76
DM
526
527Use volume as container mount point (experimental feature).
528
529`-nameserver` `string` ::
530
531Sets DNS server IP address for a container. Create will automatically use
9b3e4991 532the setting from the host if you neither set searchdomain nor nameserver.
1f554f76 533
f004f5b9 534`-net[n]` `name=<string> [,bridge=<bridge>] [,firewall=<1|0>] [,gw=<GatewayIPv4>] [,gw6=<GatewayIPv6>] [,hwaddr=<XX:XX:XX:XX:XX:XX>] [,ip=<IPv4Format/CIDR>] [,ip6=<IPv6Format/CIDR>] [,mtu=<integer>] [,rate=<mbps>] [,tag=<integer>] [,trunks=<vlanid[;vlanid...]>] [,type=<veth>]` ::
1f554f76
DM
535
536Specifies network interfaces for the container.
537
538`-onboot` `boolean` (default=`0`)::
539
540Specifies whether a VM will be started during system bootup.
541
9b3e4991 542`-ostype` `(alpine | archlinux | centos | debian | fedora | opensuse | ubuntu | unmanaged)` ::
1f554f76 543
9b3e4991
DM
544OS type. This is used to setup configuration inside the container, and
545corresponds to lxc setup scripts in
546/usr/share/lxc/config/<ostype>.common.conf. Value 'unmanaged' can be used
547to skip and OS specific setup.
1f554f76 548
9b3e4991 549`-password` ::
1f554f76
DM
550
551Sets root password inside container.
552
553`-pool` `string` ::
554
555Add the VM to the specified pool.
556
557`-protection` `boolean` (default=`0`)::
558
9b3e4991
DM
559Sets the protection flag of the container. This will prevent the CT or CT's
560disk remove/update operation.
1f554f76 561
f004f5b9 562`-rootfs` `[volume=]<volume> [,acl=<1|0>] [,backup=<1|0>] [,quota=<1|0>] [,ro=<1|0>] [,size=<DiskSize>]` ::
1f554f76
DM
563
564Use volume as container root.
565
566`-searchdomain` `string` ::
567
568Sets DNS search domains for a container. Create will automatically use the
9b3e4991
DM
569setting from the host if you neither set searchdomain nor nameserver.
570
571`-ssh-public-keys` `filepath` ::
572
573Setup public SSH keys (one key per line, OpenSSH format).
1f554f76
DM
574
575`-startup` `[[order=]\d+] [,up=\d+] [,down=\d+] ` ::
576
577Startup and shutdown behavior. Order is a non-negative number defining the
578general startup order. Shutdown in done with reverse ordering. Additionally
579you can set the 'up' or 'down' delay in seconds, which specifies a delay to
580wait before the next VM is started or stopped.
581
582`-storage` `string` (default=`local`)::
583
584Default Storage.
585
586`-swap` `integer (0 - N)` (default=`512`)::
587
588Amount of SWAP for the VM in MB.
589
590`-template` `boolean` (default=`0`)::
591
592Enable/disable Template.
593
594`-tty` `integer (0 - 6)` (default=`2`)::
595
596Specify the number of tty available to the container
597
598`-unprivileged` `boolean` (default=`0`)::
599
600Makes the container run as unprivileged user. (Should not be modified
601manually.)
602
603`-unused[n]` `string` ::
604
605Reference to unused volumes.
606
607
608
609
610*pct resume* `<vmid>`
611
612Resume the container.
613
614`<vmid>` `integer (1 - N)` ::
615
616The (unique) ID of the VM.
617
618
619
620
621*pct rollback* `<vmid> <snapname>`
622
623Rollback LXC state to specified snapshot.
624
625`<vmid>` `integer (1 - N)` ::
626
627The (unique) ID of the VM.
628
629`<snapname>` `string` ::
630
631The name of the snapshot.
632
633
634
635
636*pct set* `<vmid>` `[OPTIONS]`
637
638Set container options.
639
640`<vmid>` `integer (1 - N)` ::
641
642The (unique) ID of the VM.
643
644`-arch` `(amd64 | i386)` (default=`amd64`)::
645
646OS architecture type.
647
648`-cmode` `(console | shell | tty)` (default=`tty`)::
649
650Console mode. By default, the console command tries to open a connection to
651one of the available tty devices. By setting cmode to 'console' it tries to
652attach to /dev/console instead. If you set cmode to 'shell', it simply
653invokes a shell inside the container (no login).
654
655`-console` `boolean` (default=`1`)::
656
657Attach a console device (/dev/console) to the container.
658
659`-cpulimit` `number (0 - 128)` (default=`0`)::
660
9b3e4991
DM
661Limit of CPU usage.
662+
663NOTE: If the computer has 2 CPUs, it has a total of '2' CPU time. Value '0'
664indicates no CPU limit.
1f554f76
DM
665
666`-cpuunits` `integer (0 - 500000)` (default=`1024`)::
667
668CPU weight for a VM. Argument is used in the kernel fair scheduler. The
669larger the number is, the more CPU time this VM gets. Number is relative to
9b3e4991
DM
670the weights of all the other running VMs.
671+
1f554f76
DM
672NOTE: You can disable fair-scheduler configuration by setting this to 0.
673
674`-delete` `string` ::
675
676A list of settings you want to delete.
677
678`-description` `string` ::
679
680Container description. Only used on the configuration web interface.
681
682`-digest` `string` ::
683
684Prevent changes if current configuration file has different SHA1 digest.
685This can be used to prevent concurrent modifications.
686
687`-hostname` `string` ::
688
689Set a host name for the container.
690
691`-lock` `(backup | migrate | rollback | snapshot)` ::
692
693Lock/unlock the VM.
694
695`-memory` `integer (16 - N)` (default=`512`)::
696
697Amount of RAM for the VM in MB.
698
f004f5b9 699`-mp[n]` `[volume=]<volume> ,mp=<Path> [,acl=<1|0>] [,backup=<1|0>] [,quota=<1|0>] [,ro=<1|0>] [,size=<DiskSize>]` ::
1f554f76
DM
700
701Use volume as container mount point (experimental feature).
702
703`-nameserver` `string` ::
704
705Sets DNS server IP address for a container. Create will automatically use
9b3e4991 706the setting from the host if you neither set searchdomain nor nameserver.
1f554f76 707
f004f5b9 708`-net[n]` `name=<string> [,bridge=<bridge>] [,firewall=<1|0>] [,gw=<GatewayIPv4>] [,gw6=<GatewayIPv6>] [,hwaddr=<XX:XX:XX:XX:XX:XX>] [,ip=<IPv4Format/CIDR>] [,ip6=<IPv6Format/CIDR>] [,mtu=<integer>] [,rate=<mbps>] [,tag=<integer>] [,trunks=<vlanid[;vlanid...]>] [,type=<veth>]` ::
1f554f76
DM
709
710Specifies network interfaces for the container.
711
712`-onboot` `boolean` (default=`0`)::
713
714Specifies whether a VM will be started during system bootup.
715
9b3e4991 716`-ostype` `(alpine | archlinux | centos | debian | fedora | opensuse | ubuntu | unmanaged)` ::
1f554f76 717
9b3e4991
DM
718OS type. This is used to setup configuration inside the container, and
719corresponds to lxc setup scripts in
720/usr/share/lxc/config/<ostype>.common.conf. Value 'unmanaged' can be used
721to skip and OS specific setup.
1f554f76
DM
722
723`-protection` `boolean` (default=`0`)::
724
9b3e4991
DM
725Sets the protection flag of the container. This will prevent the CT or CT's
726disk remove/update operation.
1f554f76 727
f004f5b9 728`-rootfs` `[volume=]<volume> [,acl=<1|0>] [,backup=<1|0>] [,quota=<1|0>] [,ro=<1|0>] [,size=<DiskSize>]` ::
1f554f76
DM
729
730Use volume as container root.
731
732`-searchdomain` `string` ::
733
734Sets DNS search domains for a container. Create will automatically use the
9b3e4991 735setting from the host if you neither set searchdomain nor nameserver.
1f554f76
DM
736
737`-startup` `[[order=]\d+] [,up=\d+] [,down=\d+] ` ::
738
739Startup and shutdown behavior. Order is a non-negative number defining the
740general startup order. Shutdown in done with reverse ordering. Additionally
741you can set the 'up' or 'down' delay in seconds, which specifies a delay to
742wait before the next VM is started or stopped.
743
744`-swap` `integer (0 - N)` (default=`512`)::
745
746Amount of SWAP for the VM in MB.
747
748`-template` `boolean` (default=`0`)::
749
750Enable/disable Template.
751
752`-tty` `integer (0 - 6)` (default=`2`)::
753
754Specify the number of tty available to the container
755
756`-unprivileged` `boolean` (default=`0`)::
757
758Makes the container run as unprivileged user. (Should not be modified
759manually.)
760
761`-unused[n]` `string` ::
762
763Reference to unused volumes.
764
765
766
767
768*pct shutdown* `<vmid>` `[OPTIONS]`
769
9b3e4991
DM
770Shutdown the container. This will trigger a clean shutdown of the
771container, see lxc-stop(1) for details.
1f554f76
DM
772
773`<vmid>` `integer (1 - N)` ::
774
775The (unique) ID of the VM.
776
777`-forceStop` `boolean` (default=`0`)::
778
779Make sure the Container stops.
780
781`-timeout` `integer (0 - N)` (default=`60`)::
782
783Wait maximal timeout seconds.
784
785
786
787
788*pct snapshot* `<vmid> <snapname>` `[OPTIONS]`
789
790Snapshot a container.
791
792`<vmid>` `integer (1 - N)` ::
793
794The (unique) ID of the VM.
795
796`<snapname>` `string` ::
797
798The name of the snapshot.
799
800`-description` `string` ::
801
802A textual description or comment.
803
804
805
806
9b3e4991 807*pct start* `<vmid>` `[OPTIONS]`
1f554f76
DM
808
809Start the container.
810
811`<vmid>` `integer (1 - N)` ::
812
813The (unique) ID of the VM.
814
9b3e4991
DM
815`-skiplock` `boolean` ::
816
817Ignore locks - only root is allowed to use this option.
818
1f554f76
DM
819
820
9b3e4991 821*pct stop* `<vmid>` `[OPTIONS]`
1f554f76 822
9b3e4991
DM
823Stop the container. This will abruptly stop all processes running in the
824container.
1f554f76
DM
825
826`<vmid>` `integer (1 - N)` ::
827
828The (unique) ID of the VM.
829
9b3e4991
DM
830`-skiplock` `boolean` ::
831
832Ignore locks - only root is allowed to use this option.
833
1f554f76
DM
834
835
836*pct suspend* `<vmid>`
837
838Suspend the container.
839
840`<vmid>` `integer (1 - N)` ::
841
842The (unique) ID of the VM.
843
844
845
846
9b3e4991 847*pct template* `<vmid> -experimental <boolean>` `[OPTIONS]`
1f554f76
DM
848
849Create a Template.
850
851`<vmid>` `integer (1 - N)` ::
852
853The (unique) ID of the VM.
854
9b3e4991
DM
855`-experimental` `boolean` (default=`0`)::
856
857The template feature is experimental, set this flag if you know what you
858are doing.
859
1f554f76
DM
860
861
862
863*pct unlock* `<vmid>`
864
865Unlock the VM.
866
867`<vmid>` `integer (1 - N)` ::
868
869The (unique) ID of the VM.
870
871
872
9b3e4991
DM
873*pct unmount* `<vmid>`
874
875Unmount the container's filesystem.
876
877`<vmid>` `integer (1 - N)` ::
878
879The (unique) ID of the VM.
880
881
882
1f554f76 883