LXC, why you no have single executable?

Decided to play with LXC again.

Installation on Ubuntu
$ sudo apt-get install lxc

I tried to know what are the features of the software once installed. Usually I just type the command on my console and it is supposed to give the help and description or something.

root@nayar-laptop:~$ lxc
No command 'lxc' found, did you mean:
Command 'llc' from package 'llvm' (universe)
Command 'lc' from package 'mono-devel' (main)
Command 'axc' from package 'afnix' (universe)
Command 'lpc' from package 'lprng' (universe)
Command 'lpc' from package 'lpr' (universe)
Command 'lpc' from package 'cups-bsd' (main)
lxc: command not found

To find the appropriate commands to be used, have to find the executables in /usr/bin

$ ls /usr/bin/ | grep lxc

There I got all the executables I needed to know.

lxc-attach
lxc-autostart
lxc-cgroup
lxc-checkconfig
lxc-clone
lxc-config
lxc-console
lxc-create
lxc-destroy
lxc-device
lxc-execute
lxc-freeze
lxc-info
lxc-ls
lxc-monitor
lxc-snapshot
lxc-start
lxc-start-ephemeral
lxc-stop
lxc-unfreeze
lxc-unshare
lxc-usernsexec
lxc-wait

Or I could have done. Totally forgot that.
man lxc

I now gives all the details about the software. But I am used to have a single executable with the actions passed as parameters. Would it be better if lxc-info was like lxc info?

Docker has a single executable command to run. Anyways. Gotta play with LXC now.

Leave a Reply

Your email address will not be published. Required fields are marked *