running the container as root hasn't been a problem... but I'm not getting very far on following the steps as a non-root user
`harvest@harvestdev01:(RC=0):/home/harvest/container
10:50:45 # systemctl --user enable podman.socket
Failed to connect to bus: No such file or directory
harvest@harvestdev01:(RC=0):/home/harvest/container
10:51:47 # podman info | grep runRoot
runRoot: /tmp/containers-user-1112/containers
harvest@harvestdev01:(RC=0):/home/harvest/container
10:51:49 # sudo curl -H "Content-Type: application/json" --unix-socket /var/run/docker.sock http://localhost/_ping
OK`
went down some rabbit holes on 'loginctl enable-linger [username]' but no changes
the harvest generate is using a difference uid:gid than I'd expect:
`harvest@harvestdev01:(RC=0):/home/harvest/container
10:56:07 # HYML="/home/harvest/harvest.yml"; docker run --rm --env UID=$(id -u) --env GID=$(id -g) --entrypoint "bin/harvest" --volume "$(pwd):/opt/temp" --volume "${HYML}:${HYML}" ghcr.io/netapp/harvest:latest generate docker full --output harvest-compose.yml --config "${HYML}"
Wrote file_sd targets to container/prometheus/harvest_targets.yml
Start containers with:
docker compose -f prom-stack.yml -f harvest-compose.yml up -d --remove-orphans
harvest@harvestdev01:(RC=0):/home/harvest/container
10:56:18 # ll
total 8
drwxr-x---. 2 494327 494327 6 Oct 31 10:56 cert
drwxr-x---. 13 494327 494327 166 Oct 31 10:56 conf
drwxr-xr-x. 3 494327 494327 24 Oct 31 10:56 container
drwxr-xr-x. 4 494327 494327 43 Oct 31 10:56 grafana
-rw-------. 1 494327 494327 398 Oct 31 10:56 harvest-compose.yml
-rw-------. 1 494327 494327 1595 Oct 31 10:56 prom-stack.yml`
I can recursively chown them, but then the failures to connect to unix:///tmp/containers-user-1112/containers