Can I run multiple containers using pct start <VMID> <VMID>?

kayl

New Member
May 8, 2020
1
0
1
28
Hi guys hope you could help out, I am running a bash script and I am listing all stopped containers using pct list and then start those that aren't running but unfortunately pct start can only start 1 VMID, as per tried. Can anyone suggest anything?

It would be very much appreciated. Thank you :D
 
you can also start LXC Containers with API/CLI like:

Code:
pvesh create /nodes/{NODE}/startall --vms 100,102 --force 1