-
Notifications
You must be signed in to change notification settings - Fork 55
Bug: USER and HOME not set in OCI-Image #100
Copy link
Copy link
Open
Description
On rootless podman the USER and HOME ENV are not set in the OCI-Container.
Starting the Container gives the following error:
pgexporter[1532692]: time=2026-03-30T12:02:25.868Z level=ERROR msg="fail scraping server [user:pass@server:5432/postgres?sslmode=disable]: fail fetching server version: user: Current requires cgo or $USER, $HOME set in environment"This does not match the documentation.
To resolve this error I have set a random USER Env and HOME=/tmp.
This ENVs could be set in the image to match the documentation even in setups with rootless OCI-Engines.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels