How to grab runtime directory ? #14113
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
machine
stale-issue
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind feature
Description
Following the discussion there #14085 (comment)
It's possible to add sockets to receive machine events notifications
But how to get that folder from a podman command ? (the path is computed with 56 lines https://github.com/containers/podman/blob/main/vendor/github.com/containers/common/pkg/util/util_supported.go#L30-L86)
Steps to reproduce the issue:
Want to add socket file for listening to machine events
How to find the path ?
Describe the results you received:
Unable to grab the value of the runtime directory easily
Describe the results you expected:
Get that path with a podman command
Additional information you deem important (e.g. issue happens only occasionally):
Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/main/troubleshooting.md)
Yes/No
Additional environment details (AWS, VirtualBox, physical, etc.):
The text was updated successfully, but these errors were encountered: