You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/book/src/developer/tilt.md
+13Lines changed: 13 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -63,6 +63,9 @@ If you prefer JSON, you can create a `tilt-settings.json` file instead. YAML wil
63
63
**default_registry** (String, default=""): The image registry to use if you need to push images. See the [Tilt
64
64
documentation](https://docs.tilt.dev/api.html#api.default_registry) for more details.
65
65
66
+
**build_engine** (String, default="docker"): The engine used to build images. Can either be `docker` or `podman`.
67
+
NB: the default is dynamic and will be "podman" if the string "Podman Engine" is found in `docker version` (or in `podman version` if the command fails).
68
+
66
69
**kind_cluster_name** (String, default="capi-test"): The name of the kind cluster to use when preloading images.
67
70
68
71
**provider_repos** (Array[]String, default=[]): A list of paths to all the providers you want to use. Each provider must have a
@@ -457,3 +460,13 @@ syntax highlighting and auto-formatting. To enable it for Tiltfile a file associ
457
460
"Tiltfile": "starlark",
458
461
},
459
462
```
463
+
464
+
## Using Podman
465
+
466
+
[Podman](https://podman.io) can be used instead of docker by following these actions:
467
+
468
+
1. Enable the podman unix socket (eg. `systemctl --user enable --now podman.socket` on Fedora)
469
+
1. Set `build_engine` to `podman` in `tilt-settings.yaml` (optional, only if both docker & podman are installed)
470
+
1. Define the env variable `DOCKER_HOST` to the right socket while running tilt (eg. `DOCKER_HOST=unix:///run/user/$(id -u)/podman/podman.sock tilt up`)
471
+
472
+
NB: The socket defined by `DOCKER_HOST` is used only for the `hack/tools/tilt-prepare` command, the image build is running the `podman build`/`podman push` commands.
0 commit comments