We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Many enterprise environments no longer support the use of docker, and instead use podman.
Running the gradlew dockerBuild action against a private artifactory results in the error -
"unable to retrieve auth token: invalid username/password: unknown: Authentication is required"
This becomes confusing, as one assumes if logged in to podman (via podman login), that the necessary credentials should be available.
However the gradle docker plugin does not know of the podman equivalent auth file to that of Docker's config.json.
One way to solve the problem is to create a symbolic link
mkdir -p $HOME/.docker ln -s $HOME/.config/containers/auth.json $HOME/.docker/config.json
It would be preferrable however if the gradle docker plugin had native support for locating podman's auth.json file.
The text was updated successfully, but these errors were encountered:
I am going to add something to the documentation that explains that Podman is not supported 100%.
I am not planning to add full Podman support, but you you feel strongly about it, please send a pull request. Thanks!
Sorry, something went wrong.
No branches or pull requests
Many enterprise environments no longer support the use of docker, and instead use podman.
Running the gradlew dockerBuild action against a private artifactory results in the error -
"unable to retrieve auth token: invalid username/password: unknown: Authentication is required"
This becomes confusing, as one assumes if logged in to podman (via podman login), that the necessary credentials should be available.
However the gradle docker plugin does not know of the podman equivalent auth file to that of Docker's config.json.
One way to solve the problem is to create a symbolic link
mkdir -p $HOME/.docker
ln -s $HOME/.config/containers/auth.json $HOME/.docker/config.json
It would be preferrable however if the gradle docker plugin had native support for locating podman's auth.json file.
The text was updated successfully, but these errors were encountered: