Difference between revisions of "LXC (Linux containers)"

From wikieduonline
Jump to navigation Jump to search
 
(15 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Draft}}
 
  
 
[[wikipedia:LXC]]  Linux [[containers]] ([[2008]])
 
[[wikipedia:LXC]]  Linux [[containers]] ([[2008]])
Line 7: Line 6:
  
 
== Installation ==
 
== Installation ==
* Ubuntu: <code>[[snap install]] lxc</code> snap install lxd
+
* 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>[[lxd init]]</code>
 
* <code>[[lxc launch]] ubuntu:18.04 c1</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 ==
Line 27: Line 31:
 
* <code>[[virsh]]</code>
 
* <code>[[virsh]]</code>
 
* <code>[[multipass]]</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: