The lxc-ls command lists the container names that are available for the current user. This does not list all the containers in a system, only those that the current user owns:
$ lxc-ls
container1Name container2Name...
Linux Shell Scripting Cookbook - Third Edition
by Shantanu Tushar
Published by
Packt Publishing, 2017
The lxc-ls command lists the container names that are available for the current user. This does not list all the containers in a system, only those that the current user owns:
$ lxc-ls
container1Name container2Name...