A non-interactive SSH exec (and sudo's secure_path) frequently has a minimal PATH (~/usr/bin:/bin). Docker installed in /usr/local/bin (get.docker.com), /snap/bin (snap) or /usr/sbin is then unreachable, so every call died with "sh: docker: not found" and the page rendered as "Docker nicht verfügbar" even though Docker was installed and running. Prepend a comprehensive PATH to every docker invocation (available, containers, containerAction, logs, composeStacks) so the binary is located independent of the remote login shell. Reproduced the exact failure and the fix through the real FleetService base64+sh transport. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| Console/Commands | ||
| Enums | ||
| Events | ||
| Http | ||
| Jobs | ||
| Livewire | ||
| Models | ||
| Notifications | ||
| Providers | ||
| Rules | ||
| Services | ||
| Support | ||