@Oliver Bertuch as we discussed at https://github.com/IQSS/dataverse/pull/9959#issuecomment-1814535588 I'm getting unknown flag: --driver. Any ideas why or thoughts on how I can fix this?
Philip Durbin said:
Oliver Bertuch as we discussed at https://github.com/IQSS/dataverse/pull/9959#issuecomment-1814535588 I'm getting
unknown flag: --driver. Any ideas why or thoughts on how I can fix this?
I just tried this on my M2 Mac and it worked fine. I was able to build the base image. However, I need to get this working on my laptop at work. :thinking:
@Oliver Bertuch I'm getting the driver problem on the develop branch too, on my Mac at work. Maybe I'll move this to a new topic.
It sounds like a Docker on Mac issue (again). We saw this error before
Right. Here: DOCKER> unknown flag: --driver with M1 Mac #9771
Can you try downgrading the plugin to 0.43.2 as someone reported as workaround in https://github.com/fabric8io/docker-maven-plugin/issues/1701#issuecomment-1768191085 (Remember: it's enough to add this as property to your mvn cmd)
Except this time it's a non-M1 Mac. Intel chip.
And there's this comment about downgrading at https://github.com/IQSS/dataverse/issues/9771#issuecomment-1818705137
"This seems fixed in 0.43.3 but broken again in 0.43.4"
mvn -Pct -f modules/container-base install -Dfabric8-dmp.version=0.43.3 worked on develop.
This Docker on Mac thing is exhausting... It just runs on Linux :rolling_eyes:
I guess I haven't built the base image in a while.
At least it's not all just Windows problems! :grinning:
Question: is mvn installonly building the local arch or using buildx to do multiarch?
Last updated: Oct 30 2025 at 05:14 UTC