Skip to content

Commit 4d0fa29

Browse files
authored
Merge pull request #1809 from AkihiroSuda/fix-templates-links
docs: templates: recommend the new CLI form
2 parents 30d2376 + d470340 commit 4d0fa29

File tree

1 file changed

+48
-49
lines changed

1 file changed

+48
-49
lines changed

examples/README.md

Lines changed: 48 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,72 +1,71 @@
1-
# Lima templates
1+
Run `limactl start template://fedora` to create a Lima instance named "fedora".
2+
3+
To open a shell, run `limactl shell fedora bash` or `LIMA_INSTANCE=fedora lima bash`.
4+
5+
- - -
26

37
⭐ = ["Tier 1"](#tier-1)
48

5-
Default: [`default.yaml`](./default.yaml) (⭐Ubuntu, with containerd/nerdctl)
9+
Default: [`default`](./default.yaml) (⭐Ubuntu, with containerd/nerdctl)
610

711
Distro:
8-
- [`almalinux-8.yaml`](./almalinux-8.yaml): AlmaLinux 8
9-
- [`almalinux-9.yaml`](./almalinux-9.yaml), `almalinux.yaml`: AlmaLinux 9
10-
- [`alpine.yaml`](./alpine.yaml): ⭐Alpine Linux
11-
- [`archlinux.yaml`](./archlinux.yaml): ⭐Arch Linux
12-
- [`centos-stream-8.yaml`](./centos-stream-8.yaml): CentOS Stream 8
13-
- [`centos-stream-9.yaml`](./centos-stream-9.yaml), `centos-stream.yaml`: CentOS Stream 9
14-
- [`debian-11.yaml`](./debian-11.yaml): Debian GNU/Linux 11(bullseye)
15-
- [`debian-12.yaml`](./debian-12.yaml), `debian.yaml`: ⭐Debian GNU/Linux 12(bookworm)
16-
- [`fedora.yaml`](./fedora.yaml): ⭐Fedora
17-
- [`opensuse.yaml`](./opensuse.yaml): ⭐openSUSE Leap
18-
- [`oraclelinux-8.yaml`](./oraclelinux-8.yaml): Oracle Linux 8
19-
- [`oraclelinux-9.yaml`](./oraclelinux-9.yaml), `oraclelinux.yaml`: Oracle Linux 9
20-
- [`rocky-8.yaml`](./rocky-8.yaml): Rocky Linux 8
21-
- [`rocky-9.yaml`](./rocky-9.yaml), `rocky.yaml`: Rocky Linux 9
22-
- [`ubuntu.yaml`](./ubuntu.yaml): Ubuntu (same as `default.yaml` but without extra YAML lines)
23-
- [`ubuntu-lts.yaml`](./ubuntu-lts.yaml): Ubuntu LTS (same as `ubuntu.yaml` but pinned to an LTS version)
24-
- [`deprecated/centos-7.yaml`](./deprecated/centos-7.yaml): [deprecated] CentOS Linux 7
25-
- [`experimental/opensuse-tumbleweed.yaml`](experimental/opensuse-tumbleweed.yaml): [experimental] openSUSE Tumbleweed
12+
- [`almalinux-8`](./almalinux-8.yaml): AlmaLinux 8
13+
- [`almalinux-9`](./almalinux-9.yaml), `almalinux.yaml`: AlmaLinux 9
14+
- [`alpine`](./alpine.yaml): ⭐Alpine Linux
15+
- [`archlinux`](./archlinux.yaml): ⭐Arch Linux
16+
- [`centos-stream-8`](./centos-stream-8.yaml): CentOS Stream 8
17+
- [`centos-stream-9`](./centos-stream-9.yaml), `centos-stream.yaml`: CentOS Stream 9
18+
- [`debian-11`](./debian-11.yaml): Debian GNU/Linux 11(bullseye)
19+
- [`debian-12`](./debian-12.yaml), `debian.yaml`: ⭐Debian GNU/Linux 12(bookworm)
20+
- [`fedora`](./fedora.yaml): ⭐Fedora
21+
- [`opensuse`](./opensuse.yaml): ⭐openSUSE Leap
22+
- [`oraclelinux-8`](./oraclelinux-8.yaml): Oracle Linux 8
23+
- [`oraclelinux-9`](./oraclelinux-9.yaml), `oraclelinux.yaml`: Oracle Linux 9
24+
- [`rocky-8`](./rocky-8.yaml): Rocky Linux 8
25+
- [`rocky-9`](./rocky-9.yaml), `rocky.yaml`: Rocky Linux 9
26+
- [`ubuntu`](./ubuntu.yaml): Ubuntu (same as `default.yaml` but without extra YAML lines)
27+
- [`ubuntu-lts`](./ubuntu-lts.yaml): Ubuntu LTS (same as `ubuntu.yaml` but pinned to an LTS version)
28+
- [`deprecated/centos-7`](./deprecated/centos-7.yaml): [deprecated] CentOS Linux 7
29+
- [`experimental/opensuse-tumbleweed`](./experimental/opensuse-tumbleweed.yaml): [experimental] openSUSE Tumbleweed
2630

2731
Container engines:
28-
- [`apptainer.yaml`](./apptainer.yaml): Apptainer
29-
- [`apptainer-rootful.yaml`](./apptainer-rootful.yaml): Apptainer (rootful)
30-
- [`docker.yaml`](./docker.yaml): ⭐Docker
31-
- [`docker-rootful.yaml`](./docker-rootful.yaml): Docker (rootful)
32-
- [`podman.yaml`](./podman.yaml): Podman
33-
- [`podman-rootful.yaml`](./podman-rootful.yaml): Podman (rootful)
32+
- [`apptainer`](./apptainer.yaml): Apptainer
33+
- [`apptainer-rootful`](./apptainer-rootful.yaml): Apptainer (rootful)
34+
- [`docker`](./docker.yaml): ⭐Docker
35+
- [`docker-rootful`](./docker-rootful.yaml): Docker (rootful)
36+
- [`podman`](./podman.yaml): Podman
37+
- [`podman-rootful`](./podman-rootful.yaml): Podman (rootful)
3438
- LXD is installed in the default Ubuntu template, so there is no `lxd.yaml`
3539

3640
Container image builders:
37-
- [`buildkit.yaml`](./buildkit.yaml): BuildKit
41+
- [`buildkit`](./buildkit.yaml): BuildKit
3842

3943
Container orchestration:
40-
- [`faasd.yaml`](./faasd.yaml): [Faasd](https://docs.openfaas.com/deployment/faasd/)
41-
- [`k3s.yaml`](./k3s.yaml): Kubernetes via k3s
42-
- [`k8s.yaml`](./k8s.yaml): Kubernetes via kubeadm
44+
- [`faasd`](./faasd.yaml): [Faasd](https://docs.openfaas.com/deployment/faasd/)
45+
- [`k3s`](./k3s.yaml): Kubernetes via k3s
46+
- [`k8s`](./k8s.yaml): Kubernetes via kubeadm
4347

4448
Optional feature enablers:
45-
- [`vmnet.yaml`](./vmnet.yaml): ⭐enable [`vmnet.framework`](../docs/network.md)
46-
- [`experimental/9p.yaml`](experimental/9p.yaml): [experimental] use 9p mount type
47-
- [`experimental/virtiofs-linux.yaml`](experimental/9p.yaml): [experimental] use virtiofs mount type for Linux
48-
- [`experimental/armv7l.yaml`](experimental/armv7l.yaml): [experimental] ARMv7
49-
- [`experimental/riscv64.yaml`](experimental/riscv64.yaml): [experimental] RISC-V
50-
- [`experimental/net-user-v2.yaml`](experimental/net-user-v2.yaml): [experimental] user-v2 network
49+
- [`vmnet`](./vmnet.yaml): ⭐enable [`vmnet.framework`](../docs/network.md)
50+
- [`experimental/9p`](./experimental/9p.yaml): [experimental] use 9p mount type
51+
- [`experimental/virtiofs-linux`](./experimental/9p.yaml): [experimental] use virtiofs mount type for Linux
52+
- [`experimental/armv7l`](./experimental/armv7l.yaml): [experimental] ARMv7
53+
- [`experimental/riscv64`](./experimental/riscv64.yaml): [experimental] RISC-V
54+
- [`experimental/net-user-v2`](./experimental/net-user-v2.yaml): [experimental] user-v2 network
5155
to enable VM-to-VM communication without root privilege
5256

5357
Lost+found:
54-
- ~`centos.yaml`~: Removed in Lima v0.8.0, as CentOS 8 reached [EOL](https://www.centos.org/centos-linux-eol/).
55-
Replaced by [`almalinux.yaml`](./almalinux.yaml), [`centos-stream.yaml`](./centos-stream.yaml), [`oraclelinux.yaml`](./oraclelinux.yaml),
56-
and [`rocky.yaml`](./rocky.yaml).
57-
- ~`singularity.yaml`~: Moved to [`apptainer-rootful.yaml`](./apptainer-rootful.yaml) in Lima v0.13.0, as Singularity was renamed to Apptainer.
58-
- ~`experimental/apptainer.yaml`~: Moved to [`apptainer.yaml`](./apptainer.yaml) in Lima v0.13.0.
59-
- ~`experimental/{almalinux,centos-stream-9,oraclelinux,rocky}-9.yaml`~: Moved to [`almalinux-9.yaml`](./almalinux.yaml), [`centos-stream-9.yaml`](./centos-stream-9.yaml),
60-
[`oraclelinux-9.yaml`](./oraclelinux-9.yaml), and [`rocky-9.yaml`](./rocky-9.yaml) in Lima v0.13.0.
61-
- ~`nomad.yaml`~: Removed in Lima v0.17.1, as Nomad is [no longer free software](https://github.com/hashicorp/nomad/commit/b3e30b1dfa185d9437a25830522da47b91f78816)
58+
- ~`centos`~: Removed in Lima v0.8.0, as CentOS 8 reached [EOL](https://www.centos.org/centos-linux-eol/).
59+
Replaced by [`almalinux`](./almalinux.yaml), [`centos-stream`](./centos-stream.yaml), [`oraclelinux`](./oraclelinux.yaml),
60+
and [`rocky`](./rocky.yaml).
61+
- ~`singularity`~: Moved to [`apptainer-rootful`](./apptainer-rootful.yaml) in Lima v0.13.0, as Singularity was renamed to Apptainer.
62+
- ~`experimental/apptainer`~: Moved to [`apptainer`](./apptainer.yaml) in Lima v0.13.0.
63+
- ~`experimental/{almalinux,centos-stream-9,oraclelinux,rocky}-9`~: Moved to [`almalinux-9`](./almalinux-9.yaml), [`centos-stream-9`](./centos-stream-9.yaml),
64+
[`oraclelinux-9`](./oraclelinux-9.yaml), and [`rocky-9`](./rocky-9.yaml) in Lima v0.13.0.
65+
- ~`nomad`~: Removed in Lima v0.17.1, as Nomad is [no longer free software](https://github.com/hashicorp/nomad/commit/b3e30b1dfa185d9437a25830522da47b91f78816)
6266

6367
## Tier 1
6468

6569
The "Tier 1" yamls (marked with ⭐) are regularly tested on the CI.
6670

6771
Other yamls are tested only occasionally and manually.
68-
69-
## Usage
70-
Run `limactl start fedora.yaml` to create a Lima instance named "fedora".
71-
72-
To open a shell, run `limactl shell fedora bash` or `LIMA_INSTANCE=fedora lima bash`.

0 commit comments

Comments
 (0)