Difference between revisions of "LXC (Linux containers)"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(31 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Draft}}
+
 
 +
[[wikipedia:LXC]]  Linux [[containers]] ([[2008]])
  
 
command line client for [[LXD]]
 
command line client for [[LXD]]
Line 5: Line 6:
  
 
== Installation ==
 
== Installation ==
* Linux: <code>[[snap]] install lxc</code>
+
* Ubuntu: <code>[[snap install lxc]]</code> && <code>snap install lxd</code>
* MacOS: <code>[[brew]] install lxc</code>
+
* MacOS: <code>[[brew install]] lxc</code>
* Windows: <code>[[choco]] install lxc</code>
+
* Windows: <code>[[choco install]] lxc</code>
  
== Commmands ==
+
== Commands ==
* <code>lxc launch ubuntu:18.04 c1</code>
+
* <code>[[lxd init]]</code>
 +
* <code>[[lxc launch]] ubuntu:18.04 c1</code>
 +
* <code>[[lxc list]]</code>
 
* <code>lxc profile create vm</code>
 
* <code>lxc profile create vm</code>
 
* <code>lxc profile edit vm</code>
 
* <code>lxc profile edit vm</code>
* <code>lxc profile show vm</code>
+
* <code>[[lxc profile show]] vm</code>
* <code>lxc cluster list</code>
+
* <code>[[lxc cluster list]]</code>
 +
* <code>[[lxc exec]] <container-name> -- sudo /bin/bash</code>
 +
* <code>[[lxc remote]] add --protocol simplestreams ubuntu-minimal https://cloud-images.ubuntu.com/minimal/releases/</code>
 +
* [[lxc-console]] -n my-container -t 1
  
 
== Releases ==
 
== Releases ==
 +
* 4.0 April 2020 https://ubuntu.com/blog/lxd-4-0-lts-stable-release-is-now-available
 
* 3.19 16/01/2020 <ref>https://discuss.linuxcontainers.org/t/lxd-3-19-has-been-released/6529</ref>
 
* 3.19 16/01/2020 <ref>https://discuss.linuxcontainers.org/t/lxd-3-19-has-been-released/6529</ref>
 
:: FEATURE: Virtual machine support
 
:: FEATURE: Virtual machine support
 +
 +
 +
== Related terms ==
 +
* <code>[[virsh]]</code>
 +
* <code>[[multipass]]</code>
 +
* <code>[[lxd]]</code>
 +
* lxc web panel: wget https://lxc-webpanel.github.com/tools/install.sh -O - | bash
 +
* [[virt-host-validate]]
 +
* [[Podman]]
 +
* [[Buildpack]]
  
 
== See also ==
 
== See also ==
 
* [[OpenVZ]]
 
* [[OpenVZ]]
 +
* {{LXC}}
 
* {{containers}}
 
* {{containers}}
  
  
 
[[Category:Linux containers]]
 
[[Category:Linux containers]]

Latest revision as of 01:02, 2 March 2022

Advertising: