# Detectar virtualización Detectar qué tipo de virtualización está corriendo un contenedor desde dentro de sí mismo - systemd-detect-virt ``` root@debops-test:~# systemd-detect-virt xen ``` - hostnamectl ``` root@web3:~# hostnamectl Static hostname: web3 Transient hostname: web3.nautilux.com.ar Icon name: computer-container Chassis: container Machine ID: 9ee4d8fc06854b6493d724177d4f8964 Boot ID: 7573f2dd14684b86bdacd1a4a8569e2c Virtualization: openvz Operating System: Debian GNU/Linux 10 (buster) Kernel: Linux 4.19.0 Architecture: x86-64 ``` Sin systemd ``` dmidecode -s system-product-name ``` ``` root@ceph-rgw3-test:~# dmidecode -s system-product-name Standard PC (i440FX + PIIX, 1996) ```