You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Encountered an error while attempting to utilize the docker-maven-plugin for building multi-architecture images in GitLab. The error message received was:
ERROR: could not create a builder instance with TLS data loaded from environment. Please use `docker context create <context-name>` to create a context for the current environment and then create a builder instance with the context set to <context-name>
Following advice provided, I executed the following commands before initiating the build process:
Add following to pom.xml
<properties>
<docker.platforms></docker.platforms>
</properties>
and
<buildx>
<platforms>
<platform>linux/amd64</platform>
<platform>linux/arm64</platform>
</platforms>
</buildx>
If it's a feature request, what is your use case :
Sample project : [GitHub Clone URL]
The text was updated successfully, but these errors were encountered:
Description
Encountered an error while attempting to utilize the docker-maven-plugin for building multi-architecture images in GitLab. The error message received was:
Following advice provided, I executed the following commands before initiating the build process:
Despite implementing these commands, the error persisted. Attempting to build manually using the following command was successful:
However, when attempting to execute the build command through Maven (
mvn
), the same error continued to occur.Even after attempting to manually create a Docker context using the following exec-maven-plugin code, the error persisted unchanged.
Info
mvn -v
) :The text was updated successfully, but these errors were encountered: