Stream: containers

Topic: unknown flag: --driver


view this post on Zulip Philip Durbin ๐Ÿš€ (Nov 29 2023 at 21:01):

@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?

view this post on Zulip Philip Durbin ๐Ÿš€ (Nov 30 2023 at 12:41):

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:

view this post on Zulip Philip Durbin ๐Ÿš€ (Nov 30 2023 at 13:51):

@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.

view this post on Zulip Oliver Bertuch (Nov 30 2023 at 13:52):

It sounds like a Docker on Mac issue (again). We saw this error before

view this post on Zulip Philip Durbin ๐Ÿš€ (Nov 30 2023 at 13:54):

Right. Here: DOCKER> unknown flag: --driver with M1 Mac #9771

view this post on Zulip Oliver Bertuch (Nov 30 2023 at 13:54):

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)

view this post on Zulip Philip Durbin ๐Ÿš€ (Nov 30 2023 at 13:54):

Except this time it's a non-M1 Mac. Intel chip.

view this post on Zulip Philip Durbin ๐Ÿš€ (Nov 30 2023 at 13:55):

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"

view this post on Zulip Philip Durbin ๐Ÿš€ (Nov 30 2023 at 14:03):

mvn -Pct -f modules/container-base install -Dfabric8-dmp.version=0.43.3 worked on develop.

view this post on Zulip Oliver Bertuch (Nov 30 2023 at 14:06):

This Docker on Mac thing is exhausting... It just runs on Linux :rolling_eyes:

view this post on Zulip Philip Durbin ๐Ÿš€ (Nov 30 2023 at 14:06):

I guess I haven't built the base image in a while.

view this post on Zulip Philip Durbin ๐Ÿš€ (Nov 30 2023 at 14:07):

At least it's not all just Windows problems! :grinning:

view this post on Zulip Oliver Bertuch (Nov 30 2023 at 14:07):

Question: is mvn installonly building the local arch or using buildx to do multiarch?


Last updated: Oct 30 2025 at 05:14 UTC