[lxc-users] request for addition

Stéphane Graber stgraber at ubuntu.com
Tue Mar 8 22:41:33 UTC 2016


On Tue, Mar 08, 2016 at 02:34:14PM -0800, Mike Wright wrote:
> Hi all,
> 
> I was trying to find out just which LXC was running and ended up looking in
> the apt/archives to find the version.
> 
> Would it be hard to add something like "lxc-version"?  Takes no args, just
> prints out the current lxc version number?
> 
> Thanks,
> Mike Wright

We used to have it and removed it on purpose.

All the lxc binaries have a --version option, so you can just use that instead.

stgraber at dakara:~/data/code/lxc/lxd (stgraber/master)$ lxc-start --version
2.0.0.rc8

-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20160308/d4695caa/attachment.sig>


More information about the lxc-users mailing list