fix: use sudo podman for rootful Podman systems

This commit is contained in:
pyr0ball 2026-05-11 06:08:19 -07:00
parent 50bae0d393
commit afe3513e09

View file

@ -76,8 +76,10 @@ QBIT_LOGS=/opt/qbittorrent/config/data/logs
# ── Turnstone container ─────────────────────────────────────────────────────── # ── Turnstone container ───────────────────────────────────────────────────────
# Image is built locally — no registry auto-update label. # Image is built locally — no registry auto-update label.
# To update: podman build -t localhost/turnstone:latest /opt/turnstone # To update: sudo podman build -t localhost/turnstone:latest /opt/turnstone
# podman restart turnstone # sudo podman restart turnstone
#
# Must be run as root (sudo bash podman-standalone.sh) — rootful Podman only.
# #
# Remove existing container if present (safe re-run) # Remove existing container if present (safe re-run)
podman rm -f turnstone 2>/dev/null || true podman rm -f turnstone 2>/dev/null || true
@ -106,8 +108,8 @@ echo "Turnstone is starting up."
echo " UI: http://localhost:8534/turnstone/" echo " UI: http://localhost:8534/turnstone/"
echo "" echo ""
echo "Check container health with:" echo "Check container health with:"
echo " podman ps" echo " sudo podman ps"
echo " podman logs turnstone" echo " sudo podman logs turnstone"
echo "" echo ""
echo "To register as a systemd service:" echo "To register as a systemd service:"
echo " sudo podman generate systemd --new --name turnstone \\" echo " sudo podman generate systemd --new --name turnstone \\"
@ -116,5 +118,5 @@ echo " sudo systemctl daemon-reload"
echo " sudo systemctl enable --now turnstone" echo " sudo systemctl enable --now turnstone"
echo "" echo ""
echo "To ingest qBittorrent logs now:" echo "To ingest qBittorrent logs now:"
echo " podman exec turnstone python scripts/ingest_corpus.py \\" echo " sudo podman exec turnstone python scripts/ingest_corpus.py \\"
echo " /logs/qbittorrent/qbittorrent.log /data/turnstone.db" echo " /logs/qbittorrent/qbittorrent.log /data/turnstone.db"