You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@yetus.apache.org by "Allen Wittenauer (Jira)" <ji...@apache.org> on 2020/11/04 05:23:00 UTC

[jira] [Commented] (YETUS-923) Expose volume mount options for users of Docker Desktop

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

Allen Wittenauer commented on YETUS-923:
----------------------------------------

With Docker BuildKit support committed, I'm curious if this is still an issue.

> Expose volume mount options for users of Docker Desktop
> -------------------------------------------------------
>
>                 Key: YETUS-923
>                 URL: https://issues.apache.org/jira/browse/YETUS-923
>             Project: Yetus
>          Issue Type: Improvement
>          Components: Precommit
>            Reporter: Nick Dimiduk
>            Priority: Major
>         Attachments: YETUS-923.demo.patch
>
>
> Running builds in docker using Docker Desktop on a Mac is incredibly slow. Using HBase as a testing tool, {{mvn clean install -DskipTests}} run "natively" takes about ~2 minutes while the same command run within the Docker Desktop container environment takes ~45 minutes. Apparently this is to be expected, but can be improved by specifying a [volume mount option|https://docs.docker.com/docker-for-mac/osxfs-caching/]. Right now there's no way to expose such an option to the user. Ideally pre-commit could even detect the environment and apply the necessary options accordingly.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)