This commit is contained in:
Mateusz Gruszczyński committed 2026-11-14 09:57:21 +01:00
1 parent ad0ff60632
commit 6b59434ffa
60 files changed
+7418 -732

No files matched your search

+10 -2
View File
@@ -7,7 +7,15 @@ if [[ ${EUID:-$(id -u)} -ne 0 ]]; then
fi
command -v go >/dev/null 2>&1 || { echo "Go is required to build the agent." >&2; exit 2; }
command -v systemctl >/dev/null 2>&1 || { echo "systemd is required." >&2; exit 2; }
getent group docker >/dev/null 2>&1 || { echo "Docker group not found; install Docker first." >&2; exit 2; }
if ! getent group docker >/dev/null 2>&1; then
if command -v podman >/dev/null 2>&1; then
groupadd --system docker
echo "Created the 'docker' group for Podman socket access; see README.md (Podman) to grant it access to podman.sock." >&2
else
echo "Neither Docker (docker group) nor Podman found; install a container runtime first." >&2
exit 2
fi
fi
ROOT=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
TMP=$(mktemp -d)
@@ -37,4 +45,4 @@ systemctl --no-pager --full status rustproxy-docker-agent.service || true
printf '\nAgent endpoint, TLS certificate details and Bearer token (sensitive):\n'
/usr/local/bin/rustproxy-docker-agent info --show-token
printf '\nInstalled. Configure RustProxy -> Settings -> Docker agents with the HTTPS endpoint, token and SHA-256 fingerprint above.\n'
printf '\nInstalled. In RustProxy -> Settings -> Docker agents choose "Paste provisioning code" and paste the RPDA1-... code above\n(or enter the HTTPS endpoint, token and SHA-256 fingerprint manually).\n'