Skip to content
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

Improve the Docker client Api version verification pattern. #1282

Open
harshveli opened this issue Oct 15, 2024 · 0 comments
Open

Improve the Docker client Api version verification pattern. #1282

harshveli opened this issue Oct 15, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@harshveli
Copy link

Describe the bug

When using jf docker commands with Docker client having version in format "4.9.4-rhel", the CLI throws the following error.

[🚨Error] The Docker client Api version is expected to be 'major.minor'.

This does not cause the jf docker commands to fail but just shows the above as an error.
The requirement is to modify the pattern verification for Docker version to comply with "4.9.4-rhel".

Current behavior

When running the jf docker commands, the CLI throws the following error and continues the execution of jf docker command.

[🚨Error] The Docker client Api version is expected to be 'major.minor'.

Reproduction steps

  • Have a RHEL environment with Podman engine for Docker.
  • Configure the JFrog CLI with the server.
  • Execute the jf docker pull or push command, the output will have the following error.

[🚨Error] The Docker client Api version is expected to be 'major.minor'.

Expected behavior

Expect the CLI to comply with the Docker version format and not through the error.

JFrog CLI-Core version

2.56.3

JFrog CLI version (if applicable)

jf version 2.71.0

Operating system type and version

RHEL 8.10 Ootpa

JFrog Artifactory version

N/A

JFrog Xray version

N/A

@harshveli harshveli added the bug Something isn't working label Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant