User Tools

Site Tools


lxc:profiles:list_existing_lxd_profiles

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
lxc:profiles:list_existing_lxd_profiles [2021/01/07 16:14] – created peterlxc:profiles:list_existing_lxd_profiles [2021/01/07 19:05] (current) peter
Line 1: Line 1:
 ====== LXC - Profiles - List Existing LXD Profiles ====== ====== LXC - Profiles - List Existing LXD Profiles ======
 +
 +<code bash>
 +lxc profile list
 +</code>
 +
 +returns:
 +
 +<code bash>
 ++------------+---------+
 +| NAME       | USED BY |
 ++------------+---------+
 +| default    | 3       |
 ++------------+---------+
 +</code>
 +
 +<WRAP info>
 +**NOTE:**  This shows that there is a single profile, called default, the default profile.
 +
 +It is used by 3 LXD containers on this system.
 +
 +</WRAP>
 +
 +----
 +
 +As further profiles are added it may return different results:
 +
 +<code bash>
 ++---------------+---------+
 +|     NAME      | USED BY |
 ++---------------+---------+
 +| bridgeprofile | 1       |
 ++---------------+---------+
 +| default       | 1       |
 ++---------------+---------+
 +| macvlan       | 0       |
 ++---------------+---------+
 +</code>
  
lxc/profiles/list_existing_lxd_profiles.1610036046.txt.gz · Last modified: 2021/01/07 16:14 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki