Type the following command to install virt-what on a Debian or Ubuntu Linux VM:
$ sudo apt-get install virt-what
Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: dmidecode The following NEW packages will be installed: dmidecode virt-what 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 59.5 kB of archives. After this operation, 262 kB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://archive.ubuntu.com/ubuntu/ trusty/main dmidecode amd64 2.12-2 [45.9 kB] Get:2 http://archive.ubuntu.com/ubuntu/ trusty/universe virt-what amd64 1.13-1 [13.6 kB] Fetched 59.5 kB in 0s (82.4 kB/s) Selecting previously unselected package dmidecode. (Reading database ... 18170 files and directories currently installed.) Preparing to unpack .../dmidecode_2.12-2_amd64.deb ... Unpacking dmidecode (2.12-2) ... Selecting previously unselected package virt-what. Preparing to unpack .../virt-what_1.13-1_amd64.deb ... Unpacking virt-what (1.13-1) ... Setting up dmidecode (2.12-2) ... Setting up virt-what (1.13-1) ...
$ sudo virt-what
So I’m using Linux container as VM technology.