Install LXD (Linux Container) on Ubuntu 20.04

Install LXD pada ubuntu 20.04

  • Update repository index ubuntu 20.04
  • Install LXD pada ubuntu 20.04
root@LXC:~/sys-ops.id# sudo apt update && sudo apt upgrade -y
root@LXC:~/sys-ops.id# sudo apt install lxd -y
  • Cek versi lxd
root@LXC:~/sys-ops.id# lxd --version
4.0.8

Baca juga: Add Profile on LXD Linux Container

Baca juga: Install LXD Dashboard with LXDware


  • Tambahkan user selain root yang ada pada ubuntu agar bisa mengatur lxd, contoh: pada artikel sudah mempunya user admin
root@LXC:~/sys-ops.id# adduser admin lxd
Adding user `admin' to group `lxd' ...
Adding user admin to group lxd
Done.
  • masukan user admin kedalam member group lxd, lalu verifikasi member
admin@LXC:~$ newgrp lxd
admin@LXC:~$ id
uid=1000(admin) gid=118(lxd) groups=118(lxd),100(users),116(admin),1000(wheel)
  • Test cek status list container
admin@LXC:~$ 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 |
+------+-------+------+------+------+-----------+
  • Setting LXD network dan storage
  • buat storage dengan zfs sebesar 10GB dan network 10.101.10.1/24
root@LXC:~/sys-ops.id# lxd init
Would you like to use LXD clustering? (yes/no) [default=no]: no
Do you want to configure a new storage pool? (yes/no) [default=yes]: yes
Name of the new storage pool [default=default]: sys-ops.id
Name of the storage backend to use (dir, lvm, zfs, ceph, btrfs) [default=zfs]: zfs
Create a new ZFS pool? (yes/no) [default=yes]: yes
Would you like to use an existing empty block device (e.g. a disk or partition)? (yes/no) [default=no]: no
Size in GB of the new loop device (1GB minimum) [default=5GB]: 10GB
Would you like to connect to a MAAS server? (yes/no) [default=no]: no
Would you like to create a new local network bridge? (yes/no) [default=yes]: yes
What should the new bridge be called? [default=lxdbr0]: lxdbr0
What IPv4 address should be used? (CIDR subnet notation, “auto” or “none”) [default=auto]: 10.101.10.1/24
Would you like LXD to NAT IPv4 traffic on your bridge? [default=yes]: yes
What IPv6 address should be used? (CIDR subnet notation, “auto” or “none”) [default=auto]: none
Would you like the LXD server to be available over the network? (yes/no) [default=no]: no
Would you like stale cached images to be updated automatically? (yes/no) [default=yes] yes
Would you like a YAML "lxd init" preseed to be printed? (yes/no) [default=no]: no
  • Verifikasi LXD
lxc profile list
lxc profile show default
lxc network list
lxc network show lxdbr0
lxc storage list
lxc storage show sys-ops.id

  • Cek LXC image
lxc image list images:
lxc image list images: | grep -i centos
lxc image list images: | grep -i ubuntu
lxc image list images: | grep -i debian
lxc image list images: | grep -i ubuntu | grep -i virtual-machine
  • Menambahkan Linux Container
lxc launch images:{distro_name}/{version_os}/{architecture} {container_name}
  • Menambahkan lxc tipe container centos 7
root@LXC:~/sys-ops.id# lxc launch images:centos/7/amd64 centos7-container
  • Menambahkan lxc tipe container ubuntu 18.04 dan ubuntu 20.04
root@LXC:~/sys-ops.id# lxc launch images:ubuntu/18.04/amd64 ubuntu-1804-container
root@LXC:~/sys-ops.id# lxc launch images:ubuntu/20.04/amd64 ubuntu-2004-container
  • Jika tidak bisa menambahkan lxc container ubuntu, gunakan perintah berikut
root@LXC:~/sys-ops.id# lxc launch images:ubuntu ubuntu-container
  • Menambahkan lxc tipe virtual machine ubuntu 20.04
root@LXC:~/sys-ops.id# lxc launch images:ubuntu/20.04/amd64 --vm ubuntu-2004-vm
  • Cek list image yang sudah di download
root@LXC:~/sys-ops.id# lxc image list
+-------+--------------+--------+---------------------------------------------+--------------+-----------------+----------+------------------------------+
| ALIAS | FINGERPRINT  | PUBLIC |             DESCRIPTION                     | ARCHITECTURE |      TYPE       |   SIZE   |         UPLOAD DATE          |
+-------+--------------+--------+---------------------------------------------+--------------+-----------------+----------+------------------------------+
|       | 053dd443d1a1 | no     | Ubuntu focal amd64 (20220208_08:49)         | x86_64       | CONTAINER       | 109.13MB | Feb 8, 2022 at 12:33pm (UTC) |
+-------+--------------+--------+---------------------------------------------+--------------+-----------------+----------+------------------------------+
|       | 548c1436af4b | no     | Ubuntu bionic amd64 (20220209_07:42)        | x86_64       | VIRTUAL-MACHINE | 239.00MB | Feb 9, 2022 at 9:20am (UTC)  |
+-------+--------------+--------+---------------------------------------------+--------------+-----------------+----------+------------------------------+
|       | ac4606d11836 | no     | Ubuntu bionic amd64 (20220208_07:43)        | x86_64       | CONTAINER       | 105.22MB | Feb 8, 2022 at 12:33pm (UTC) |
+-------+--------------+--------+---------------------------------------------+--------------+-----------------+----------+------------------------------+
|       | c04992ea443b | no     | Ubuntu focal amd64 (20220209_07:42)         | x86_64       | VIRTUAL-MACHINE | 251.56MB | Feb 9, 2022 at 9:15am (UTC)  |
+-------+--------------+--------+---------------------------------------------+--------------+-----------------+----------+------------------------------+
|       | ebc35fcae564 | no     | Centos 7 amd64 (20220208_07:08)             | x86_64       | CONTAINER       | 84.49MB  | Feb 8, 2022 at 12:34pm (UTC) |
+-------+--------------+--------+---------------------------------------------+--------------+-----------------+----------+------------------------------+
|       | 017d8572a250 | no     | ubuntu 20.04 LTS amd64 (release) (20220207) | x86_64       | CONTAINER       | 382.85MB | Feb 10, 2022 at 1:16pm (UTC) |
+-------+--------------+--------+---------------------------------------------+--------------+-----------------+----------+------------------------------+

  • Cek status linux container yang sudah di buat sebelumnya
root@LXC:~/sys-ops.id# lxc list
+-----------------------+---------+----------------------+------+-----------+-----------+
|         NAME          |  STATE  |         IPV4         | IPV6 |   TYPE    | SNAPSHOTS |
+-----------------------+---------+----------------------+------+-----------+-----------+
| centos7-container     | RUNNING | 10.101.10.160 (eth0) |      | CONTAINER | 0         |
+-----------------------+---------+----------------------+------+-----------+-----------+
| ubuntu-1804-container | RUNNING | 10.101.10.234 (eth0) |      | CONTAINER | 0         |
+-----------------------+---------+----------------------+------+-----------+-----------+
| ubuntu-2004-container | RUNNING | 10.101.10.139 (eth0) |      | CONTAINER | 0         |
+-----------------------+---------+----------------------+------+-----------+-----------+

root@LXC:~/sys-ops.id# lxc list | grep -i centos
| centos7-container     | RUNNING | 10.101.10.160 (eth0) |      | CONTAINER | 0         |
  • Cek status linux container dengan custom column
root@LXC:~/sys-ops.id# lxc list -c n,s,4,a,b,D,M,P,t,N,S
+-----------------------+---------+----------------------+--------------+--------------+------------+---------------+----------+-----------+-----------+-----------+
|         NAME          |  STATE  |         IPV4         | ARCHITECTURE | STORAGE POOL | DISK USAGE | MEMORY USAGE% | PROFILES |   TYPE    | PROCESSES | SNAPSHOTS |
+-----------------------+---------+----------------------+--------------+--------------+------------+---------------+----------+-----------+-----------+-----------+
| ubuntu-2004-container | RUNNING | 10.101.10.139 (eth0) | x86_64       | sys-ops.id   | 88.36MB    | 21.1%         | default  | CONTAINER | 68        | 1         |
+-----------------------+---------+----------------------+--------------+--------------+------------+---------------+----------+-----------+-----------+-----------+

  • Masuk ke dalam bash linux container
root@LXC:~/sys-ops.id# lxc exec centos7-container sh

sh-4.2# ping google.com -c4
PING google.com (142.251.10.138) 56(84) bytes of data.
64 bytes from sd-in-f138.1e100.net (142.251.10.138): icmp_seq=1 ttl=110 time=14.1 ms
64 bytes from sd-in-f138.1e100.net (142.251.10.138): icmp_seq=2 ttl=110 time=13.5 ms
64 bytes from sd-in-f138.1e100.net (142.251.10.138): icmp_seq=3 ttl=110 time=12.9 ms
64 bytes from sd-in-f138.1e100.net (142.251.10.138): icmp_seq=4 ttl=110 time=13.0 ms

--- google.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
rtt min/avg/max/mdev = 12.995/13.444/14.189/0.476 ms
root@LXC:~/sys-ops.id# lxc exec ubuntu-2004-container -- /bin/bash

root@ubuntu-2004-container:~# hostnamectl
   Static hostname: ubuntu-2004-container
         Icon name: computer-container
           Chassis: container
        Machine ID: b1fceee3b16c4620987c02fcee6a55c9
           Boot ID: 71bfc7aafa0348a09494c76a0fab9736
    Virtualization: lxc
  Operating System: Ubuntu 20.04.3 LTS
            Kernel: Linux 5.4.0-99-generic
      Architecture: x86-64
root@ubuntu-2004-container:~#

  • Menjalankan command pada linux container
root@LXC:~/sys-ops.id# lxc exec ubuntu-2004-container -- ip a
root@LXC:~/sys-ops.id# lxc exec ubuntu-2004-container -- hostnamectl
root@LXC:~/sys-ops.id# lxc exec ubuntu-2004-container -- apt update
root@LXC:~/sys-ops.id# lxc exec ubuntu-2004-container -- /bin/bash
  • Start, Stop, Restart linux container
root@LXC:~/sys-ops.id# lxc list
+-----------------------+---------+----------------------+------+-----------+-----------+
|         NAME          |  STATE  |         IPV4         | IPV6 |   TYPE    | SNAPSHOTS |
+-----------------------+---------+----------------------+------+-----------+-----------+
| centos7-container     | RUNNING | 10.101.10.160 (eth0) |      | CONTAINER | 0         |
+-----------------------+---------+----------------------+------+-----------+-----------+
| ubuntu-1804-container | RUNNING | 10.101.10.234 (eth0) |      | CONTAINER | 0         |
+-----------------------+---------+----------------------+------+-----------+-----------+
| ubuntu-2004-container | RUNNING | 10.101.10.139 (eth0) |      | CONTAINER | 0         |
+-----------------------+---------+----------------------+------+-----------+-----------+
root@LXC:~/sys-ops.id# lxc stop centos7-container
root@LXC:~/sys-ops.id# lxc list
+-----------------------+---------+----------------------+------+-----------+-----------+
|         NAME          |  STATE  |         IPV4         | IPV6 |   TYPE    | SNAPSHOTS |
+-----------------------+---------+----------------------+------+-----------+-----------+
| centos7-container     | STOPPED |                      |      | CONTAINER | 0         |
+-----------------------+---------+----------------------+------+-----------+-----------+
| ubuntu-1804-container | RUNNING | 10.101.10.234 (eth0) |      | CONTAINER | 0         |
+-----------------------+---------+----------------------+------+-----------+-----------+
| ubuntu-2004-container | RUNNING | 10.101.10.139 (eth0) |      | CONTAINER | 0         |
+-----------------------+---------+----------------------+------+-----------+-----------+
root@LXC:~/sys-ops.id# lxc start centos7-container
root@LXC:~/sys-ops.id# lxc list
+-----------------------+---------+----------------------+------+-----------+-----------+
|         NAME          |  STATE  |         IPV4         | IPV6 |   TYPE    | SNAPSHOTS |
+-----------------------+---------+----------------------+------+-----------+-----------+
| centos7-container     | RUNNING | 10.101.10.160 (eth0) |      | CONTAINER | 0         |
+-----------------------+---------+----------------------+------+-----------+-----------+
| ubuntu-1804-container | RUNNING | 10.101.10.234 (eth0) |      | CONTAINER | 0         |
+-----------------------+---------+----------------------+------+-----------+-----------+
| ubuntu-2004-container | RUNNING | 10.101.10.139 (eth0) |      | CONTAINER | 0         |
+-----------------------+---------+----------------------+------+-----------+-----------+
root@LXC:~/sys-ops.id# lxc restart centos7-container
  • Delete linux container, pastikan status container dalam keadaan stoped
root@LXC:~/sys-ops.id# lxc stop centos7-container
root@LXC:~/sys-ops.id# lxc list
+-----------------------+---------+----------------------+------+-----------+-----------+
|         NAME          |  STATE  |         IPV4         | IPV6 |   TYPE    | SNAPSHOTS |
+-----------------------+---------+----------------------+------+-----------+-----------+
| centos7-container     | STOPPED |                      |      | CONTAINER | 0         |
+-----------------------+---------+----------------------+------+-----------+-----------+
| ubuntu-1804-container | RUNNING | 10.101.10.234 (eth0) |      | CONTAINER | 0         |
+-----------------------+---------+----------------------+------+-----------+-----------+
| ubuntu-2004-container | RUNNING | 10.101.10.139 (eth0) |      | CONTAINER | 0         |
+-----------------------+---------+----------------------+------+-----------+-----------+
root@LXC:~/sys-ops.id# lxc delete centos7-container
root@LXC:~/sys-ops.id# lxc list
+-----------------------+---------+----------------------+------+-----------+-----------+
|         NAME          |  STATE  |         IPV4         | IPV6 |   TYPE    | SNAPSHOTS |
+-----------------------+---------+----------------------+------+-----------+-----------+
| ubuntu-1804-container | RUNNING | 10.101.10.234 (eth0) |      | CONTAINER | 0         |
+-----------------------+---------+----------------------+------+-----------+-----------+
| ubuntu-2004-container | RUNNING | 10.101.10.139 (eth0) |      | CONTAINER | 0         |
+-----------------------+---------+----------------------+------+-----------+-----------+
  • Membuat snaphot untuk linux container
root@LXC:~/sys-ops.id# lxc snapshot ubuntu-2004-container ubuntu2004-snapshot1
root@LXC:~/sys-ops.id#
root@LXC:~/sys-ops.id# lxc list
+-----------------------+---------+----------------------+------+-----------+-----------+
|         NAME          |  STATE  |         IPV4         | IPV6 |   TYPE    | SNAPSHOTS |
+-----------------------+---------+----------------------+------+-----------+-----------+
| ubuntu-1804-container | RUNNING | 10.101.10.234 (eth0) |      | CONTAINER | 0         |
+-----------------------+---------+----------------------+------+-----------+-----------+
| ubuntu-2004-container | RUNNING | 10.101.10.139 (eth0) |      | CONTAINER | 1         |
+-----------------------+---------+----------------------+------+-----------+-----------+
  • Restore snapshot linux container
root@LXC:~/sys-ops.id# lxc restore ubuntu-2004-container ubuntu2004-snapshot1
  • Menampilkan informasi pada LXD server dan linux container
root@LXC:~/sys-ops.id# lxc info
root@LXC:~/sys-ops.id# lxc info ubuntu-2004-container
Name: ubuntu-2004-container
Location: none
Remote: unix://
Architecture: x86_64
Created: 2022/02/07 07:24 UTC
Status: Running
Type: container
Profiles: default
Pid: 10118
Ips:
  eth0: inet    10.101.10.139   veth7c851fc9
  eth0: inet6   fe80::216:3eff:febb:4836        veth7c851fc9
  lo:   inet    127.0.0.1
  lo:   inet6   ::1
Resources:
  Processes: 68
  Disk usage:
    root: 88.11MB
  CPU usage:
    CPU usage (in seconds): 19
  Memory usage:
    Memory (current): 115.23MB
    Memory (peak): 241.19MB
  Network usage:
    eth0:
      Bytes received: 13.91MB
      Bytes sent: 233.47kB
      Packets received: 7473
      Packets sent: 3368
    lo:
      Bytes received: 1.77kB
      Bytes sent: 1.77kB
      Packets received: 18
      Packets sent: 18
Snapshots:
  ubuntu2004-snapshot1 (taken at 2022/02/07 08:18 UTC) (stateless)
  • Set limit memory dan cpu pada linux container
root@LXC:~/sys-ops.id# lxc config set ubuntu-2004-container limits.memory 512MB
root@LXC:~/sys-ops.id# lxc config set ubuntu-2004-container limits.cpu 1

  • Install apache pada linux container ubuntu 20.04
root@LXC:~/sys-ops.id# lxc exec ubuntu-2004-container -- apt install apache2 -y
  • Aktifkan packet forwarding untuk ipv4
  • uncomment baris berikut: net.ipv4.ip_forward=1 pada file /etc/sysctl.conf
  • Simpan dan apply perubahan
root@LXC:~/sys-ops.id# nano /etc/sysctl.conf

---
# Uncomment the next line to enable packet forwarding for IPv4
net.ipv4.ip_forward=1
sudo sysctl -p
sysctl --system
  • Tambahkan firewall port forwarding pada iptables
root@LXC:~/sys-ops.id# iptables -A PREROUTING -t nat -i ens3 -p tcp --dport 8080 -j DNAT --to 10.101.10.139:80
root@LXC:~/sys-ops.id# iptables -A FORWARD -p tcp -d 10.101.10.139 --dport 80 -j ACCEPT
  • Install iptables persistent untuk menyimpan rule firewall menajdi permanent
sudo apt install netfilter-persistent iptables-persistent
sudo netfilter-persistent save
  • cek rule iptables
root@LXC:~/sys-ops.id# iptables -nvL
Chain INPUT (policy ACCEPT 1146 packets, 94931 bytes)
 pkts bytes target     prot opt in     out     source               destination

Chain FORWARD (policy ACCEPT 30 packets, 12250 bytes)
 pkts bytes target     prot opt in     out     source               destination
   34  4391 ACCEPT     tcp  --  *      *       0.0.0.0/0            10.101.10.139        tcp dpt:80

Chain OUTPUT (policy ACCEPT 1191 packets, 169K bytes)
 pkts bytes target     prot opt in     out     source               destination
--------------------------------------------------------------------
root@LXC:~/sys-ops.id# iptables -nvL -t nat
Chain PREROUTING (policy ACCEPT 101 packets, 5481 bytes)
 pkts bytes target     prot opt in     out     source               destination
    7   372 DNAT       tcp  --  ens3   *       0.0.0.0/0            0.0.0.0/0            tcp dpt:8080 to:10.101.10.139:80

Chain INPUT (policy ACCEPT 100 packets, 5397 bytes)
 pkts bytes target     prot opt in     out     source               destination

Chain OUTPUT (policy ACCEPT 19 packets, 1281 bytes)
 pkts bytes target     prot opt in     out     source               destination

Chain POSTROUTING (policy ACCEPT 26 packets, 1653 bytes)
 pkts bytes target     prot opt in     out     source               destination
  • Cek pada browser dengan url: http://ip_address_server_lxd:8080

  • Upload file dari host lxd ke dalam linux container
root@LXC:~/sys-ops.id# lxc list
+-----------------------+---------+----------------------+------+-----------+-----------+
|         NAME          |  STATE  |         IPV4         | IPV6 |   TYPE    | SNAPSHOTS |
+-----------------------+---------+----------------------+------+-----------+-----------+
| ubuntu-2004-container | RUNNING | 10.101.10.139 (eth0) |      | CONTAINER | 1         |
+-----------------------+---------+----------------------+------+-----------+-----------+
root@LXC:~/sys-ops.id# ll
total 12
drwxr-xr-x 2 root root 4096 Feb  7 09:53 ./
drwx------ 7 root root 4096 Feb  7 06:31 ../
-rw-r--r-- 1 root root  153 Feb  7 09:53 index.html
root@LXC:~/sys-ops.id# cat index.html
<html>
<title>Linux Container</title>
<body>
<h1><center>Linux Container</h1>
<p><center>Install LXD Server on Ubuntu 20.04 | sys-ops.id
</body>
</html>

root@LXC:~/sys-ops.id# lxc file push index.html ubuntu-2004-container/var/www/html/
  • Reload url web server linux container pada browser, maka tampilan sudah berubah
  • Download file dari dalam linux container
root@LXC:~/sys-ops.id# lxc file pull ubuntu-2004-container/var/www/html/index.html /root/sys-ops.id/index-2.html
atau
root@LXC:~/sys-ops.id# lxc file pull ubuntu-2004-container/var/www/html/index.html .

  • Jika ingin menggunakan HTTP Reverse Proxy dengan nginx
  • Install nginx pada host lxd untuk mengaktifkan http reverse proxy
root@LXC:~/sys-ops.id# sudo apt install nginx -y

root@LXC:~/sys-ops.id# nginx -v
nginx version: nginx/1.18.0 (Ubuntu)
  • Tambahkan server block pada nginx untuk port 80 dengan domain app.bikinin.website atau bisa juga dengan port lainnya, sepert 9090
root@LXC:~/sys-ops.id# nano /etc/nginx/conf.d/app.conf
upstream app {
 server 10.101.10.139:80;
}

server {
    listen 80;
    server_name app.bikinin.website;
    access_log /var/log/nginx/app_access.log;
    error_log /var/log/nginx/app_error.log;

    proxy_set_header X-Forwarded-Host $host;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header X-Forwarded-Proto $scheme;
    proxy_set_header X-Real-IP $remote_addr;

   location ^~ / {
       index index.html index.htm index.php;
       try_files $uri $uri/ /index.php?$args;
       proxy_redirect off;
       proxy_pass http://app;
    }

    gzip_types text/css text/less text/plain text/xml application/xml application/json application/javascript;
    gzip on;
}
  • Restart service nginx
root@LXC:~/sys-ops.id# systemctl restart nginx
  • Status nginx sudah listen pada port 80
root@LXC:~/sys-ops.id# netstat -tulpn | grep nginx
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      34542/nginx: master
tcp6       0      0 :::80                   :::*                    LISTEN      34542/nginx: master
  • Tes dengan curl, jika menggunakan port 9090
root@LXC:~/sys-ops.id# curl http://103.169.7.56:9090
<html>
<title>Linux Container</title>
<body>
<h1><center>Linux Container</h1>
<p><center>Install LXD Server on Ubuntu 20.04 | sys-ops.id
</body>
</html>

root@LXC:~/sys-ops.id# curl http://app.bikinin.website:9090
<html>
<title>Linux Container</title>
<body>
<h1><center>Linux Container</h1>
<p><center>Install LXD Server on Ubuntu 20.04 | sys-ops.id
</body>
</html>
  • Tes dengan curl, jika menggunakan port 80 dengan domain app.bikinin.website
root@LXC:~/sys-ops.id# curl http://app.bikinin.website
<html>
<title>Linux Container</title>
<body>
<h1><center>Linux Container</h1>
<p><center>Install LXD Server on Ubuntu 20.04 | sys-ops.id
</body>
</html>

  • Melihat command lxc help
root@LXC:~/sys-ops.id# lxc --help
Description:
  Command line client for LXD

  All of LXD's features can be driven through the various commands below.
  For help with any of those, simply call them with --help.

Usage:
  lxc [command]

Available Commands:
  alias       Manage command aliases
  cluster     Manage cluster members
  config      Manage instance and server configuration options
  console     Attach to instance consoles
  copy        Copy instances within or in between LXD servers
  delete      Delete instances and snapshots
  exec        Execute commands in instances
  export      Export instance backups
  file        Manage files in instances
  help        Help about any command
  image       Manage images
  import      Import instance backups
  info        Show instance or server information
  launch      Create and start instances from images
  list        List instances
  move        Move instances within or in between LXD servers
  network     Manage and attach instances to networks
  operation   List, show and delete background operations
  profile     Manage profiles
  project     Manage projects
  publish     Publish instances as images
  remote      Manage the list of remote servers
  rename      Rename instances and snapshots
  restart     Restart instances
  restore     Restore instances from snapshots
  snapshot    Create instance snapshots
  start       Start instances
  stop        Stop instances
  storage     Manage storage pools and volumes
  version     Show local and remote versions

Flags:
      --all           Show less common commands
      --debug         Show all debug messages
      --force-local   Force using the local unix socket
  -h, --help          Print help
      --project       Override the source project
  -q, --quiet         Don't show progress information
  -v, --verbose       Show all information messages
      --version       Print version number

Use "lxc [command] --help" for more information about a command.

herdiana3389

A system administrator with skills in system administration, virtualization, linux, windows, networking, cloud computing, container, etc.