Difference between revisions of "LXC (Linux containers)"
Jump to navigation
Jump to search
↑ https://discuss.linuxcontainers.org/t/lxd-3-19-has-been-released/6529
(7 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | |||
[[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]] | + | * Windows: <code>[[choco install]] lxc</code> |
− | == | + | == 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 32: | Line 32: | ||
* <code>[[multipass]]</code> | * <code>[[multipass]]</code> | ||
* <code>[[lxd]]</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 == |
Latest revision as of 01:02, 2 March 2022
Installation[edit]
- Ubuntu:
snap install lxc
&&snap install lxd
- MacOS:
brew install lxc
- Windows:
choco install lxc
Commands[edit]
lxd init
lxc launch ubuntu:18.04 c1
lxc list
lxc profile create vm
lxc profile edit vm
lxc profile show vm
lxc cluster list
lxc exec <container-name> -- sudo /bin/bash
lxc remote add --protocol simplestreams ubuntu-minimal https://cloud-images.ubuntu.com/minimal/releases/
- lxc-console -n my-container -t 1
Releases[edit]
- 4.0 April 2020 https://ubuntu.com/blog/lxd-4-0-lts-stable-release-is-now-available
- 3.19 16/01/2020 [1]
- FEATURE: Virtual machine support
Related terms[edit]
virsh
multipass
lxd
- lxc web panel: wget https://lxc-webpanel.github.com/tools/install.sh -O - | bash
- virt-host-validate
- Podman
- Buildpack
See also[edit]
- OpenVZ
- LXC:
lxd
,lxc
,lxc list
,lxc cluster list
,lxc launch
- Containers, OCI: Docker (
dockerd
),containerd
,runc
, Podman, buildah, skopeo, lxd, Container Registry, Service mesh, Windows Server containers, Containerpilot, CoreOS, CAdvisor, Containers networking, Container scanning, cosign, CRI, CRI-O,initContainers
, Sidecar container, Container images, latest
Advertising: