Difference between revisions of "LXC (Linux containers)"

From wikieduonline
Jump to navigation Jump to search
 
(6 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Draft}}
 
  
 
[[wikipedia:LXC]]  Linux [[containers]] ([[2008]])
 
[[wikipedia:LXC]]  Linux [[containers]] ([[2008]])
Line 9: Line 8:
 
* Ubuntu: <code>[[snap install lxc]]</code> && <code>snap install lxd</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>[[lxd init]]</code>
 
* <code>[[lxd init]]</code>
 
* <code>[[lxc launch]] ubuntu:18.04 c1</code>
 
* <code>[[lxc launch]] ubuntu:18.04 c1</code>
Line 20: Line 19:
 
* <code>[[lxc cluster list]]</code>
 
* <code>[[lxc cluster list]]</code>
 
* <code>[[lxc exec]] <container-name> -- sudo /bin/bash</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
 
* [[lxc-console]] -n my-container -t 1
  
Line 33: Line 33:
 
* <code>[[lxd]]</code>
 
* <code>[[lxd]]</code>
 
* lxc web panel: wget https://lxc-webpanel.github.com/tools/install.sh -O - | bash
 
* lxc web panel: wget https://lxc-webpanel.github.com/tools/install.sh -O - | bash
 +
* [[virt-host-validate]]
 +
* [[Podman]]
 +
* [[Buildpack]]
  
 
== See also ==
 
== See also ==

Latest revision as of 01:02, 2 March 2022

Advertising: