Podman - Command not found? #8627
Replies: 6 comments 1 reply
-
|
Created planner discussion: https://github.com/CrossTerra/monorepo/discussions/2002 |
Beta Was this translation helpful? Give feedback.
-
|
Okay, turns out mise has However. the broken podman install question remains, as does a better understanding of why i need an alias at all since the 'matching =' doesn't seem to be working? |
Beta Was this translation helpful? Give feedback.
-
|
It seems that mise use github:containers/podman[rename_exe=podman]PR #8633 |
Beta Was this translation helpful? Give feedback.
-
|
Bare with me if I'm doing this wrong, I'm still finding my way with both Podman and Mise. My intent here, is to have a system wide installation of Podman (available to all users), but run Podman in rootless mode. As such, all calls to the shared podman binary would be from non-root users. I've tried installing podman a number ways, all of which seem to be failing to create the socket, as they return the same response from a
I'll detail earlier attempts on the install options in a separate post below, but I figured this is worth mention early on. First I ran: Then: Which produces:
It seems like it is attempting the symlink operation from the path associated with the first call to |
Beta Was this translation helpful? Give feedback.
-
|
EDIT: ORIGINAL POST:
Putting aside the --system issue mentioned in the post above, my Initial thinking was using the non-root mise binary with sudo privileges might allow the podman socket to be created. It did not. It also caused a bit of config chaos. All in all, this was a poor idea, I think. All the non-elevated attempts to install via mise in anyway ( After |
Beta Was this translation helpful? Give feedback.
-
|
You're right this is misleading, since |
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.
-
Hi,
I installed podman via
mise use -g podman@latestThereafter, when I run
podmanit yields (Ubuntu 24.04):mise where podmanends up pointing to an oddly named binary (presumably because it's a static build?):Running this command works:
/home/user/.local/share/mise/installs/podman/5.8.1/podman-remote-static-linux_amd64 --versionA quick look at
~/.config/mise/config.tomlshows:I haven't seen that syntax in there before. Two questions I'm hoping for help with:
podman = { version = "latest", matching = "podman-remote-.*" }mise tool-alias set "podman-remote-static-linux_amd64" "podman" "latest"but that hasn't helped (I'm not clear on exactly what type of issue mise tool aliases are intended to solve)... Is this the right way to get a call to the standard shell command of justpodmanto call the mise version?I know I can fix this with bash shell aliases or symlinks etc, my goal though is to understand how to make this work in mise.
EDIT:
Other commands aren't so good, looks like the mise install of podman is broken in some way?
A 'podman ps' equivalent of:
/home/user/.local/share/mise/installs/podman/5.8.1/podman-remote-static-linux_amd64 psproduces:Thanks
Beta Was this translation helpful? Give feedback.
All reactions