Re: virt-what : added docker check

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/21/2014 10:49 PM, Charles Nguyen wrote:
> I noticed that this checks and reports that Docker containers are lxc
> containers, but sometimes it is nice to know that you are in a Docker
> environment. As such, I added in a test for Docker and it returns as:
> 
> bash-4.1# PATH=.:$PATH virt-what
> lxc
> docker
> 
> I forked a copy and it's been tested off of a base CentOS and Ubuntu
> container that most packages are made from. I've also included the tests as
> well and hope that I made it correct otherwise.
> 
> https://github.com/chuckleb/virt-what

Expecting us to chase down a random URL to find the patch ourselves is
not as nice as including the patch directly inline as part of your
email.  Also, per 'man virt-what', have you created a bugzilla for this
patch, and cc'd Rich to make sure he sees it?

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list

[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux