docs: show location of lima podman socket

Signed-off-by: Anders F Björklund <anders.f.bjorklund@gmail.com>
This commit is contained in:
Anders F Björklund 2023-12-01 11:27:16 +01:00 committed by Florent BENOIT
parent 2802599c2f
commit b5ceac9969

View file

@ -31,6 +31,14 @@ Some of the things you can edit:
- Modify the cluster setup (the Kubernetes distribution)
- Run **both** of container workloads and Kubernetes workloads
### Directory
To find the location of the instance directory (`Dir`):
```bash
limactl list <instance> --format '{{.Dir}}'
```
### Containers
You can install a container engine, in addition to the existing runtime.
@ -44,6 +52,7 @@ After that you can port forward the socket, to the host `Dir`.
```bash
export DOCKER_HOST="unix://{{.Dir}}/sock/docker.sock"
export CONTAINER_HOST="unix://{{.Dir}}/sock/podman.sock"
```
### Kubernetes