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/reference/sandbox-compute-drivers.mdx
+20Lines changed: 20 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -255,6 +255,26 @@ For maintainer-level implementation details, refer to the [Podman driver README]
255
255
256
256
Select Podman with `compute_drivers = ["podman"]` in `[openshell.gateway]`. Configure Podman driver values such as `socket_path`, `network_name`, `supervisor_image`, `stop_timeout_secs`, `image_pull_policy`, `grpc_endpoint`, `host_gateway_ip`, `sandbox_ssh_socket_path`, `sandbox_pids_limit`, and `guest_tls_*` in `[openshell.drivers.podman]`.
257
257
258
+
### macOS Podman Socket Path
259
+
260
+
On macOS, Homebrew-installed Podman does not create the default socket path
261
+
that the driver probes (`~/.local/share/containers/podman/machine/podman.sock`).
262
+
The actual API socket lives under `/var/folders/` in a path that macOS can
263
+
rotate after a reboot.
264
+
265
+
If the gateway fails with `Podman socket not found; is podman machine running?`
266
+
while `podman machine list` shows a running machine, set the
267
+
`OPENSHELL_PODMAN_SOCKET` environment variable to the dynamic socket path:
Add this to your shell profile or gateway launch environment so it resolves
274
+
correctly after each reboot. Alternatively, set `socket_path` in
275
+
`[openshell.drivers.podman]` to the current path, but note that the path may
276
+
change when macOS rotates `/var/folders/`.
277
+
258
278
Podman sandboxes default to a 45-second graceful stop window before Podman escalates from `SIGTERM` to `SIGKILL`. Set `stop_timeout_secs` in gateway config, or `OPENSHELL_STOP_TIMEOUT` for the standalone driver, when a local runtime needs a different teardown window.
259
279
260
280
Stop stops the existing Podman container while retaining its named workspace
0 commit comments