Infrastructure 2018-08-19

Addressing Slow Mounting Issues in Docker for Mac

Resolve slow Docker for Mac volume mount performance caused by the macOS filesystem API. Workarounds: delegated/cached mount options, docker-sync, or using a Linux-based VM.

Read in: ja
Addressing Slow Mounting Issues in Docker for Mac

Overview

Mounting in Docker for Mac is slow. npm and other operations are painfully slow. This is a memo.

Cause

Refer to the comments from Docker staff. (See the middle section of the linked page)

Docker - File access in mounted volumes extremely slow, CPU bound

It seems related to the file system API of MacOS.

Solutions

Thoughts

I feel like I want to use Linux.

Tags: Docker Tips
Share: 𝕏 Post Facebook Hatena
✏️ View source / Discuss on GitHub
☕ Support

If you enjoy this blog, consider supporting it. Every bit helps keep it running!


Related Articles