I just created #11239. Can anyone reproduce this? Can anyone suggest anything for me to try?
It works for @Juan Pablo Tosca Villanueva. Weird.
I have a slightly newer version of Docker and macOS.
% diff --side-by-side /tmp/phil /tmp/jp
Client: Client:
Version: 27.5.1 | Version: 27.4.0
API version: 1.47 API version: 1.47
Go version: go1.22.11 | Go version: go1.22.10
Git commit: 9f9e405 | Git commit: bde2b89
Built: Wed Jan 22 13:37:19 2025 | Built: Sat Dec 7 10:35:43 2024
OS/Arch: darwin/arm64 OS/Arch: darwin/arm64
Context: desktop-linux Context: desktop-linux
Server: Docker Desktop 4.38.0 (181591) | Server: Docker Desktop 4.37.2 (179585)
Engine: Engine:
Version: 27.5.1 | Version: 27.4.0
API version: 1.47 (minimum version 1.24) API version: 1.47 (minimum version 1.24)
Go version: go1.22.11 | Go version: go1.22.10
Git commit: 4c9b3b0 | Git commit: 92a8393
Built: Wed Jan 22 13:41:25 2025 | Built: Sat Dec 7 10:38:33 2024
OS/Arch: linux/arm64 OS/Arch: linux/arm64
Experimental: false Experimental: false
containerd: containerd:
Version: 1.7.25 | Version: 1.7.21
GitCommit: bcc810d6b9066471b0b6fa75f557a15a1cbf31bb | GitCommit: 472731909fa34bd7bc9c087e4c27943f9835f111
runc: runc:
Version: 1.1.12 | Version: 1.1.13
GitCommit: v1.1.12-0-g51d5e946 | GitCommit: v1.1.13-0-g58aa920
docker-init: docker-init:
Version: 0.19.0 Version: 0.19.0
GitCommit: de40ad0 GitCommit: de40ad0
Software: Software:
System Software Overview: System Software Overview:
System Version: macOS 15.3 (24D60) | System Version: macOS 14.6.1 (23G93)
Kernel Version: Darwin 24.3.0 | Kernel Version: Darwin 23.6.0
Boot Volume: Macintosh HD Boot Volume: Macintosh HD
Boot Mode: Normal Boot Mode: Normal
Computer Name: PDurbinβs MacBook Pro | Computer Name: JPβs MacBook Pro
User Name: Philip Durbin (PDurbin) | User Name: JP Tosca (jptosca)
Secure Virtual Memory: Enabled Secure Virtual Memory: Enabled
System Integrity Protection: Enabled System Integrity Protection: Enabled
Time since boot: 11 minutes, 9 seconds | Time since boot: 7 days, 23 hours, 53 minutes
Sounds like they changed the CLI "API" in Docker...
When looking for buildx unknown command there are results appearing that they might have removed buildx as core functions. You might need to install a plugin
Hmm, I'm seeing "Docker Buildx is included in Docker Desktop for Windows and macOS" at https://github.com/docker/buildx
on Ubuntu the docker-buildx plugin is a separate package. I left the results of my (vanilla, squeaky-new) build attempt as a comment on #11239
Have you tried running docker buildx in a terminal?
Is the command available there?
"version" seems to work:
% docker buildx version
github.com/docker/buildx v0.20.1-desktop.2 aaf7c2bc7f9ec3afee1cec77d671845a4b57a0c8
Ok so it might be that path problem again
Remember https://github.com/docker/for-mac/issues/6928?
If this keeps breaking I don't know if we should keep the Maven plugin. It's nice and all but it needs to work and not break every now and then because of some update.
yeah
The main reasons to use it was a) put the dependencies in an extra layer and b) have a convenient, integrated thing with the rest of the build pipeline. Wrt (a) we might decide to not give a whatev about optimization and wrt (b) well IDK what folks want and like.
It looks like I can download the version JP is on (4.37.2) from https://docs.docker.com/desktop/release-notes/
Not sure it will restore any fixes we might have done before.
I downgraded to 4.37.2 but I'm getting the same error.
[INFO] --- docker:0.45.0:build (default-build) @ container-base ---
[INFO] Reading assembly descriptor: /Users/PDurbin/github/iqss/dataverse/modules/container-base/src/main/docker/assembly.xml
[INFO] Copying files to /Users/PDurbin/github/iqss/dataverse/modules/container-base/target/docker/gdcc/base/6.6-noble-p6.2024.6-j17/build/maven
[INFO] Building tar: /Users/PDurbin/github/iqss/dataverse/modules/container-base/target/docker/gdcc/base/6.6-noble-p6.2024.6-j17/tmp/docker-build.tar
[INFO] DOCKER> [gdcc/base:6.6-noble-p6.2024.6-j17] "base": Created docker-build.tar in 2 seconds
[INFO] DOCKER> Credentials helper reply for "docker-credential-desktop" is docker-credential-desktop (github.com/docker/docker-credential-helpers) v0.8.2
[WARNING] DOCKER> docker: 'buildx' is not a docker command.
[WARNING] DOCKER> See 'docker --help'
[INFO] Expanding: /Users/PDurbin/github/iqss/dataverse/modules/container-base/target/docker/gdcc/base/6.6-noble-p6.2024.6-j17/tmp/docker-build.tar into /Users/PDurbin/github/iqss/dataverse/modules/container-base/target/docker/gdcc/base/6.6-noble-p6.2024.6-j17/tmp/docker-build
[INFO] DOCKER> docker --config /Users/PDurbin/github/iqss/dataverse/modules/container-base/target/buildx-state buildx build --progress=plain --builder maven --platform linux/arm64 --tag gdcc/base:6.6-noble-p6.2024.6-j17 --build-arg GID=1000 --build-arg JAVA_IMAGE=eclipse-temurin:17-jre-noble --build-arg UID=1000 --file=/Users/PDurbin/github/iqss/dataverse/modules/container-base/target/docker/gdcc/base/6.6-noble-p6.2024.6-j17/tmp/docker-build/Dockerfile /Users/PDurbin/github/iqss/dataverse/modules/container-base/target/docker/gdcc/base/6.6-noble-p6.2024.6-j17/tmp/docker-build --load
[INFO] DOCKER> unknown flag: --progress
[INFO] DOCKER> See 'docker --help'.
[INFO] DOCKER>
[INFO] DOCKER> Usage: docker [OPTIONS] COMMAND
[INFO] DOCKER>
[INFO] DOCKER> A self-sufficient runtime for containers
[INFO] DOCKER>
[INFO] DOCKER> Common Commands:
[INFO] DOCKER> run Create and run a new container from an image
[INFO] DOCKER> exec Execute a command in a running container
[INFO] DOCKER> ps List containers
[INFO] DOCKER> build Build an image from a Dockerfile
[INFO] DOCKER> pull Download an image from a registry
[INFO] DOCKER> push Upload an image to a registry
[INFO] DOCKER> images List images
[INFO] DOCKER> login Authenticate to a registry
[INFO] DOCKER> logout Log out from a registry
[INFO] DOCKER> search Search Docker Hub for images
[INFO] DOCKER> version Show the Docker version information
[INFO] DOCKER> info Display system-wide information
[INFO] DOCKER>
[INFO] DOCKER> Management Commands:
[INFO] DOCKER> builder Manage builds
[INFO] DOCKER> container Manage containers
[INFO] DOCKER> context Manage contexts
[INFO] DOCKER> image Manage images
[INFO] DOCKER> manifest Manage Docker image manifests and manifest lists
[INFO] DOCKER> network Manage networks
[INFO] DOCKER> plugin Manage plugins
[INFO] DOCKER> system Manage Docker
[INFO] DOCKER> trust Manage trust on Docker images
[INFO] DOCKER> volume Manage volumes
[INFO] DOCKER>
[INFO] DOCKER> Swarm Commands:
[INFO] DOCKER> swarm Manage Swarm
[INFO] DOCKER>
[INFO] DOCKER> Commands:
[INFO] DOCKER> attach Attach local standard input, output, and error streams to a running container
[INFO] DOCKER> commit Create a new image from a container's changes
[INFO] DOCKER> cp Copy files/folders between a container and the local filesystem
[INFO] DOCKER> create Create a new container
[INFO] DOCKER> diff Inspect changes to files or directories on a container's filesystem
[INFO] DOCKER> events Get real time events from the server
[INFO] DOCKER> export Export a container's filesystem as a tar archive
[INFO] DOCKER> history Show the history of an image
[INFO] DOCKER> import Import the contents from a tarball to create a filesystem image
[INFO] DOCKER> inspect Return low-level information on Docker objects
[INFO] DOCKER> kill Kill one or more running containers
[INFO] DOCKER> load Load an image from a tar archive or STDIN
[INFO] DOCKER> logs Fetch the logs of a container
[INFO] DOCKER> pause Pause all processes within one or more containers
[INFO] DOCKER> port List port mappings or a specific mapping for the container
[INFO] DOCKER> rename Rename a container
[INFO] DOCKER> restart Restart one or more containers
[INFO] DOCKER> rm Remove one or more containers
[INFO] DOCKER> rmi Remove one or more images
[INFO] DOCKER> save Save one or more images to a tar archive (streamed to STDOUT by default)
[ERROR] DOCKER> Error status (125) when building
[INFO] DOCKER> start Start one or more stopped containers
[INFO] DOCKER> stats Display a live stream of container(s) resource usage statistics
[INFO] DOCKER> stop Stop one or more running containers
[INFO] DOCKER> tag Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE
[INFO] DOCKER> top Display the running processes of a container
[INFO] DOCKER> unpause Unpause all processes within one or more containers
[INFO] DOCKER> update Update configuration of one or more containers
[INFO] DOCKER> wait Block until one or more containers stop, then print their exit codes
[INFO] DOCKER>
[INFO] DOCKER> Global Options:
[INFO] DOCKER> --config string Location of client config files (default
[INFO] DOCKER> "/Users/PDurbin/.docker")
[INFO] DOCKER> -c, --context string Name of the context to use to connect to the
[INFO] DOCKER> daemon (overrides DOCKER_HOST env var and
[INFO] DOCKER> default context set with "docker context use")
[INFO] DOCKER> -D, --debug Enable debug mode
[INFO] DOCKER> -H, --host list Daemon socket to connect to
[INFO] DOCKER> -l, --log-level string Set the logging level ("debug", "info",
[INFO] DOCKER> "warn", "error", "fatal") (default "info")
[INFO] DOCKER> --tls Use TLS; implied by --tlsverify
[INFO] DOCKER> --tlscacert string Trust certs signed only by this CA (default
[INFO] DOCKER> "/Users/PDurbin/.docker/ca.pem")
[INFO] DOCKER> --tlscert string Path to TLS certificate file (default
[INFO] DOCKER> "/Users/PDurbin/.docker/cert.pem")
[INFO] DOCKER> --tlskey string Path to TLS key file (default
[INFO] DOCKER> "/Users/PDurbin/.docker/key.pem")
[INFO] DOCKER> --tlsverify Use TLS and verify the remote
[INFO] DOCKER> -v, --version Print version information and quit
[INFO] DOCKER>
[INFO] DOCKER> Run 'docker COMMAND --help' for more information on a command.
[INFO] DOCKER>
[INFO] DOCKER> For more help on how to use Docker, head to https://docs.docker.com/go/guides/
[INFO] DOCKER>
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.469 s
[INFO] Finished at: 2025-02-10T16:15:20-05:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal io.fabric8:docker-maven-plugin:0.45.0:build (default-build) on project container-base: Error status (125) when building -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Client:
Version: 27.4.0
API version: 1.47
Go version: go1.22.10
Git commit: bde2b89
Built: Sat Dec 7 10:35:43 2024
OS/Arch: darwin/arm64
Context: desktop-linux
Server: Docker Desktop 4.37.2 (179585)
Engine:
Version: 27.4.0
API version: 1.47 (minimum version 1.24)
Go version: go1.22.10
Git commit: 92a8393
Built: Sat Dec 7 10:38:33 2024
OS/Arch: linux/arm64
Experimental: false
containerd:
Version: 1.7.21
GitCommit: 472731909fa34bd7bc9c087e4c27943f9835f111
runc:
Version: 1.1.13
GitCommit: v1.1.13-0-g58aa920
docker-init:
Version: 0.19.0
GitCommit: de40ad0
We're using the docker maven plugin at https://github.com/IQSS/dataverse-hub and https://github.com/IQSS/dataverse-marketplace by the way.
Bumping the version didn't help:
% git diff
diff --git a/modules/dataverse-parent/pom.xml b/modules/dataverse-parent/pom.xml
index 9612988b3e..a6266ecff0 100644
--- a/modules/dataverse-parent/pom.xml
+++ b/modules/dataverse-parent/pom.xml
@@ -198,7 +198,7 @@
<pomchecker-maven-plugin.version>1.7.0</pomchecker-maven-plugin.version>
<!-- Container related -->
- <fabric8-dmp.version>0.45.0</fabric8-dmp.version>
+ <fabric8-dmp.version>0.45.1</fabric8-dmp.version>
</properties>
Wait, wait, wait, maybe I fixed it with this:
cd modules/container-base
mvn clean
Yeah. Works now. I even re-upgraded to the latest version of Docker.
Sounds like there was a stale Docker config sticking around. Not sure if it might be worth not caching it. Or adding an FAQ in case of any errors first do a mvn clean and try again.
Yeah, I might tweak our docs.
Last updated: Oct 30 2025 at 05:14 UTC