Show Git SHA version of podman inside podman machiine VM?
Hi, On macOS, I did the following to test the HEAD version of podman: brew update brew install --HEAD podman podman version Client: Podman Engine Version: 4.0.0-dev API Version: 4.0.0-dev Go Version: go1.17.6 Git Commit: d3699bbce63f283a609053d4aca23e4abe7dae4d-dirty Built: Wed Feb 23 07:29:12 2022 OS/Arch: darwin/amd64 Server: Podman Engine Version: 4.0.0-dev API Version: 4.0.0-dev Go Version: go1.16.13 Built: Thu Feb 17 13:48:15 2022 OS/Arch: linux/amd64 podman ssh podman version Client: Podman Engine Version: 4.0.0-dev API Version: 4.0.0-dev Go Version: go1.16.13 Built: Thu Feb 17 13:48:15 2022 OS/Arch: linux/amd64 The podman CLI on macOS shows the Git Commit as part of the output of *podman** version*, but the CLI inside the podman machine VM does not. Is it possible to determine the Git commit of the podman inside the VM? -- Craig
The packager has to supply the git version manually, or it will show up as "". That blank line in the output seems to be a new "feature" in v4.0.0, though ? /Anders The podman CLI on macOS shows the Git Commit as part of the output of *podman** version*, but the CLI inside the podman machine VM does not. Is it possible to determine the Git commit of the podman inside the VM?
podman info will show it (inside the vm as well) On Wed, Feb 23, 2022 at 10:28 AM Craig Rodrigues <rodrigc@crodrigues.org> wrote:
Hi,
On macOS, I did the following to test the HEAD version of podman:
brew update brew install --HEAD podman
podman version
Client: Podman Engine Version: 4.0.0-dev API Version: 4.0.0-dev Go Version: go1.17.6 Git Commit: d3699bbce63f283a609053d4aca23e4abe7dae4d-dirty Built: Wed Feb 23 07:29:12 2022 OS/Arch: darwin/amd64
Server: Podman Engine Version: 4.0.0-dev API Version: 4.0.0-dev Go Version: go1.16.13
Built: Thu Feb 17 13:48:15 2022 OS/Arch: linux/amd64
podman ssh podman version
Client: Podman Engine Version: 4.0.0-dev API Version: 4.0.0-dev Go Version: go1.16.13
Built: Thu Feb 17 13:48:15 2022 OS/Arch: linux/amd64
The podman CLI on macOS shows the Git Commit as part of the output of *podman** version*, but the CLI inside the podman machine VM does not. Is it possible to determine the Git commit of the podman inside the VM?
-- Craig _______________________________________________ Podman mailing list -- podman@lists.podman.io To unsubscribe send an email to podman-leave@lists.podman.io
participants (3)
-
Anders F Björklund -
Brent Baude -
Craig Rodrigues