-
Notifications
You must be signed in to change notification settings - Fork 643
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
Buildx support for rancher (and/or homebrew's) docker #1643
Comments
Some of my diagnostics: |
versions when seeing the failure with the client from homebrew and the server from rancher:
|
I am also seeing this issue using rancher desktop
I find I am able to get past this bug if I provide my local .docker path like so but this is not very portable
|
Further investigation done with @jflinchbaugh The following does work:
After looking into it is seems that the |
If you can reproduce the difference in behavior between Docker's cli and Rancher's cli, then it's a Rancher problem. I am not inclined to work around this deviation. |
I created a separate issue when I discovered that pointing the config to my local docker dir I did some further investigation and found that if the code is changed to not provide any config information or config.json path information to docker then it builds successfully for me. I wonder if it could be possibly through configuration to have the plugin call docker without specifying a config and have it use docker's default local configuration. Am I misunderstanding the purpose of the configuration here? |
The state of the docker buildx builder instances is stored in the configuration directory. The intent of docker-maven-plugin using a non-default configuration directory is to isolate the builder instances of different projects. Additionally, without this isolation, I had hundreds of builder instances in my default configuration. |
Description
We are trying to use the new
buildx
option for thedocker-maven-plugin
-- thank you for implementing this.The build command generated by the plugin is:
On a machine with the
docker
supplied by the docker desktop everything seems to work fine. However, on a machine with thedocker
supplied by rancher I get the following:Running the
docker
command directly on the cli, produces a similar result.A colleague using the
docker
command from homebrew sees a similar error message.Please update the
buildx
support for rancher's and/or homebrew'sdocker
.Info
mvn -v
) :Use the plugin with
on a machine with rancher's
docker
.The text was updated successfully, but these errors were encountered: