Replies: 4 comments
-
What are you trying to do? Why do you run podman machine as root? Have you tried just running it rootless? runroot is not an option in containers.conf it must be set in storage.conf. However this setting is only applicable for inside the VM, it will not be used on your mac. |
Beta Was this translation helpful? Give feedback.
-
thanks for the clarity at the end there. I am trying to run podman as a service and .. I think I have that actually, (wrote the plist for it and put it in /Libvrary/LaunchDaemons). The only thing is that the initial install happens in the user directly .. so all the device links, storage, etc, are pointing to locations related to that user account. Dont really want it pointing to root, I just want it to not be associated with a user. |
Beta Was this translation helpful? Give feedback.
-
This should be a discussion not an issue. |
Beta Was this translation helpful? Give feedback.
-
Would adding
to the plist file help? (For what it's worth, I'm doing that now and it starts the service, then immediately stops it, so I have a different problem, but the user is right.) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
On macos, version 4.0.3, podman machine init --rootful does not respect --runroot dir set in /etc/containers/containers.conf
Steps to reproduce the issue:
or
Describe the results you received:
This directory does not exist in MacOS, instead it is /var/run
Describe the results you expected:
Successful creation and deployment from /var/run instead of $HOME/.local/run/user/$UID/run
Output of
podman version
:(run having created the instance in my local directory)
Output of
podman info --debug
:(run having created the instance in my local directory)
Package info (e.g. output of
rpm -q podman
orapt list podman
):brew info 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
Additional environment details (AWS, VirtualBox, physical, etc.):
MacOS on arm64.
if I get rid of the sudo and then start the client, it exists, but it is not created rootfully (in terms of file locations):
Beta Was this translation helpful? Give feedback.
All reactions