-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Why does server version show twice, when running with the compatibility socket ? #11227
Comments
Looks like a bug in the compatibility layer. |
We seem to be missing Git commit (seems useful), an "experimental" flag (I assume this means "this is not a formally-published release"?), and versions for Containerd and Runc (we don't use containerd and may not use runc - maybe replace with Conmon and OCI Runtime version?) |
@mheon the git commit is missing from the packaging itself (the binary), it should be showing up where available. $ podman version --format=json | jq
{
"Client": {
"APIVersion": "3.2.3",
"Version": "3.2.3",
"GoVersion": "go1.15.2",
"GitCommit": "",
"BuiltTime": "Thu Jan 1 01:00:00 1970",
"Built": 0,
"OsArch": "linux/amd64"
}
} The RPM and DEB packages replace the (this also why they live in the 70's) |
the "experimental" means that beta features in the Docker CLI and API are enabled It's a run-time configuration (opt-in), so not related to the actual binary or the release /etc/docker/daemon.json {
"experimental": true
} ~/.docker/config.json {
"experimental": "enabled"
} For Podman, it is hard-coded to |
Actually the question was not so much about those extra new features (even if nice-to-have), just about the extra fields: With the older release, it looks more traditional:
While expecting more like:
|
@afbjorklund @rhatdan This is a "feature"... In JSON payload, we provide compatible fields containing their expected versioning information, and additionally we provide a "Podman Engine" component containing libpod versioning information. The goal was a client that expected only docker fields would work as expected while an enhanced client with knowledge of libpod could leverage this additional information. |
Okay thanks. Just wondered about the differences in output, if you want to add more components you can do that as a separate issue. |
* Include OCI and conmon information as components Fixes containers#11227 Signed-off-by: Jhon Honce <[email protected]>
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
More of a question
Description
When I run "docker version" or "podman version", I get one client and one server output.
On the remote node:
But when running docker client towards the podman socket, there are suddenly two ?
i..e two for podman itself, not just one for podman and more for conmon and crun or so
Steps to reproduce the issue:
ssh-add $CONTAINER_SSHKEY
export DOCKER_HOST=${CONTAINER_HOST/\/run\/podman\/podman.sock/}
docker version
Describe the results you received:
Describe the results you expected:
Guess I am wondering why there is extra information in the output.
And if so, more like:
Additional information you deem important (e.g. issue happens only occasionally):
The docker socket was symlinked to the podman socket, since Docker doesn't do paths...
ssh host connection is not valid: extra path after the host: "/run/podman/podman.sock"
This was after stopping the real Docker daemon, and running only with CRI-O (and podman)
sudo ln -sf /run/podman/podman.sock /var/run/docker.sock
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/master/troubleshooting.md)
Yes/No
Additional environment details (AWS, VirtualBox, physical, etc.):
Ubuntu 20.04
The text was updated successfully, but these errors were encountered: