docker on OSX slow volumes

前端 未结 10 1525
无人共我
无人共我 2021-02-02 08:24

I\'m trying to use docker beta on OSX, mainly for Symfony development but the mounted volumes are incredible slow. Even for a vanilla Symfony project I get 6s page load time. Th

10条回答
  •  日久生厌
    2021-02-02 08:54

    I spent a lot of my time in searching viable solution. And I found. d4m-nfs allow you use docker volumes via nfs. In my case it gave increase performance 16 times! (1.8sec vs ~30sec)

    Also d4m-nfs has quite a intricate manual, so here is another link with detailed example: https://github.com/laradock/laradock/issues/353#issuecomment-262897619

    I just leave this here for other googlers.

提交回复
热议问题