[ 
https://issues.apache.org/jira/browse/YETUS-1164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17528234#comment-17528234
 ] 

Allen Wittenauer commented on YETUS-1164:
-----------------------------------------

Hmm.. I use it all the time on my M1 MBP (with the ARM docker build too!).   Is 
your home directory shared in the docker prefs?

> 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)

Reply via email to