Public bug reported:

lsb_release -rd
Description:    Ubuntu 18.04.1 LTS
Release:        18.04

ii  virt-what                   1.18-2

===
fix: also check .dockerenv

# Check for Docker.
if [ -f "${root}/.dockerinit" -o -f "${root}/.dockerenv" ]; then
    echo docker
fi

** Affects: virt-what (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: docker

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1786051

Title:
  docker container is not recognized

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/virt-what/+bug/1786051/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to