-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GET operation failed - when running podman as sudo #455
Comments
hi, I can reproduce it with
What do you suggest here @D3vil0p3r ? Graceful error handling? cc: @jwhonce : was this discussed in the past already? |
Thank you for the answer. By your |
I am not sure if this is the right action since I am thinking to catch it via an exception and printing some useful message like:
Actually, I just tried to do I would still wait for a second opinion from @jwhonce who might know more about it. I am positively convinced this might have popped out in the past |
I would add... is it possible to implement the raising of exception when In docker py, it generates the following one when run
The reason of this further request is to not allow the script to go ahead and produce other errors downstream. |
I want to get podman info without specifying a base uri, by using
podman.from_env()
(as occurs for python docker lib).When I run
sudo systemctl start podman
and I run the codeproduces:
The script works only if I run podman service as user by
systemctl start --user podman
.The text was updated successfully, but these errors were encountered: