[
https://issues.apache.org/jira/browse/YETUS-1164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17529362#comment-17529362
]
Nick Dimiduk commented on YETUS-1164:
-------------------------------------
Oooh, this is some Docker Desktop feature. When I encountered the above, I was
using [Minikube|https://minikube.sigs.k8s.io/docs/] as my docker service
provider. It looks like minikube does provide similar capabilities, but they're
not enabled out of the box. I need some incantation of {{minikube mount}}.
> start-build-env.sh doesn't work on a Mac
> ----------------------------------------
>
> Key: YETUS-1164
> URL: https://issues.apache.org/jira/browse/YETUS-1164
> Project: Yetus
> Issue Type: Bug
> Components: build
> Affects Versions: 0.14.0
> Reporter: Nick Dimiduk
> Priority: Major
>
> Following the https://github.com/apache/yetus#building-quickstart , I found
> {noformat}
> $ mvn clean install
> [ERROR] Could not create local repository at /home/ndimiduk/.m2/repository ->
> [Help 1]
> {noformat}
> I believe the issue here is that Docker is not "native" on the Mac (and
> probably other platforms also... Windows maybe?), because there is a virtual
> machine between the user's home directory and the docker container. Things
> fall apart with {{start-build-env.sh}} because it mounts various directories
> in the user's home directory into the container as volumes. These paths exist
> on the host OS, but not on the guest OS VM where the docker service runs.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)