Difference between revisions of "Lxc list"

From wikieduonline
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
<pre>
+
  [[lxc]] list
lxc list
+
+------+---------+----------------------+-----------------------------------------------+-----------+-----------+
+------+---------+----------------------+-----------------------------------------------+-----------+-----------+
+
| NAME |  STATE  |        IPV4        |                    IPV6                      |  TYPE    | SNAPSHOTS |
| NAME |  STATE  |        IPV4        |                    IPV6                      |  TYPE    | SNAPSHOTS |
+
+------+---------+----------------------+-----------------------------------------------+-----------+-----------+
+------+---------+----------------------+-----------------------------------------------+-----------+-----------+
+
| c1  | RUNNING | 10.147.119.47 (eth0) | fd52:ad31:a3ae:2e17:278:3eff:fe10:eb75 (eth0) | CONTAINER | 0        |
| c1  | RUNNING | 10.147.119.47 (eth0) | fd52:ad31:a3ae:2e17:278:3eff:fe10:eb75 (eth0) | CONTAINER | 0        |
+
+------+---------+----------------------+-----------------------------------------------+-----------+-----------+
+------+---------+----------------------+-----------------------------------------------+-----------+-----------+
 
</pre>
 
  
<pre>
 
lxc list
 
If this is your first time running LXD on this machine, you should also run: lxd init
 
To start your first container, try: lxc launch ubuntu:20.04
 
Or for a virtual machine: lxc launch ubuntu:20.04 --vm
 
  
+------+-------+------+------+------+-----------+
+
lxc list
| NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS |
+
If this is your first time running LXD on this machine, you should also run: [[lxd init]]
+------+-------+------+------+------+-----------+
+
To start your first container, try: lxc launch ubuntu:20.04
</pre>
+
Or for a virtual machine: lxc launch ubuntu:20.04 --vm
 +
 +
+------+-------+------+------+------+-----------+
 +
| NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS |
 +
+------+-------+------+------+------+-----------+
  
<pre>
+
lxc list
lxc list
+
+------+-------+------+------+------+-----------+
+------+-------+------+------+------+-----------+
+
| NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS |
| NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS |
+
+------+-------+------+------+------+-----------+
+------+-------+------+------+------+-----------+
 
</pre>
 
  
  
 
== See also ==
 
== See also ==
 +
* {{lxd}}
 
* {{LXC}}
 
* {{LXC}}
  
 
[[Category:LXC]]
 
[[Category:LXC]]

Latest revision as of 17:43, 28 May 2022

 lxc list
+------+---------+----------------------+-----------------------------------------------+-----------+-----------+
| NAME |  STATE  |         IPV4         |                     IPV6                      |   TYPE    | SNAPSHOTS |
+------+---------+----------------------+-----------------------------------------------+-----------+-----------+
| c1   | RUNNING | 10.147.119.47 (eth0) | fd52:ad31:a3ae:2e17:278:3eff:fe10:eb75 (eth0) | CONTAINER | 0         |
+------+---------+----------------------+-----------------------------------------------+-----------+-----------+


lxc list
If this is your first time running LXD on this machine, you should also run: lxd init
To start your first container, try: lxc launch ubuntu:20.04
Or for a virtual machine: lxc launch ubuntu:20.04 --vm

+------+-------+------+------+------+-----------+
| NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS |
+------+-------+------+------+------+-----------+
lxc list
+------+-------+------+------+------+-----------+
| NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS |
+------+-------+------+------+------+-----------+


See also[edit]

Advertising: