{"id":2746,"date":"2015-07-07T17:28:59","date_gmt":"2015-07-07T13:28:59","guid":{"rendered":"http:\/\/nayarweb.com\/blog\/?p=2746"},"modified":"2017-04-16T21:57:17","modified_gmt":"2017-04-16T17:57:17","slug":"lxc-why-you-no-have-single-executable","status":"publish","type":"post","link":"https:\/\/nayarweb.com\/blog\/2015\/lxc-why-you-no-have-single-executable\/","title":{"rendered":"LXC, why you no have single executable?"},"content":{"rendered":"<p>Decided to play with LXC again. <\/p>\n<p>Installation on Ubuntu<br \/>\n<code>$ sudo apt-get install lxc<\/code><\/p>\n<p>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.<\/p>\n<p><code>root@nayar-laptop:~$ lxc<br \/>\nNo command 'lxc' found, did you mean:<br \/>\n Command 'llc' from package 'llvm' (universe)<br \/>\n Command 'lc' from package 'mono-devel' (main)<br \/>\n Command 'axc' from package 'afnix' (universe)<br \/>\n Command 'lpc' from package 'lprng' (universe)<br \/>\n Command 'lpc' from package 'lpr' (universe)<br \/>\n Command 'lpc' from package 'cups-bsd' (main)<br \/>\nlxc: command not found<\/code><\/p>\n<p>To find the appropriate commands to be used, have to find the executables in \/usr\/bin<\/p>\n<p><code>$ ls \/usr\/bin\/ | grep lxc<\/code><\/p>\n<p>There I got all the executables I needed to know.<\/p>\n<p><code>lxc-attach<br \/>\nlxc-autostart<br \/>\nlxc-cgroup<br \/>\nlxc-checkconfig<br \/>\nlxc-clone<br \/>\nlxc-config<br \/>\nlxc-console<br \/>\nlxc-create<br \/>\nlxc-destroy<br \/>\nlxc-device<br \/>\nlxc-execute<br \/>\nlxc-freeze<br \/>\nlxc-info<br \/>\nlxc-ls<br \/>\nlxc-monitor<br \/>\nlxc-snapshot<br \/>\nlxc-start<br \/>\nlxc-start-ephemeral<br \/>\nlxc-stop<br \/>\nlxc-unfreeze<br \/>\nlxc-unshare<br \/>\nlxc-usernsexec<br \/>\nlxc-wait<\/code><\/p>\n<p>Or I could have done. Totally forgot that.<br \/>\n<code>man lxc<\/code><\/p>\n<p>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 <code>lxc-info<\/code> was like <code>lxc info<\/code>?<\/p>\n<p>Docker has a single executable command to run. Anyways. Gotta play with LXC now.  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 &#8216;lxc&#8217; found, did &hellip; <a href=\"https:\/\/nayarweb.com\/blog\/2015\/lxc-why-you-no-have-single-executable\/\" class=\"continue-reading\">Continue reading <span class=\"screen-reader-text\">LXC, why you no have single executable?<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[210],"tags":[61,208,209],"class_list":["post-2746","post","type-post","status-publish","format-standard","hentry","category-technology","tag-linux","tag-lxc","tag-virtualisation"],"_links":{"self":[{"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/posts\/2746","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/comments?post=2746"}],"version-history":[{"count":3,"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/posts\/2746\/revisions"}],"predecessor-version":[{"id":2749,"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/posts\/2746\/revisions\/2749"}],"wp:attachment":[{"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/media?parent=2746"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/categories?post=2746"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/tags?post=2746"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}