@cweagans As I said, Docker staff know that the mounted volumes are slow. Nonetheless, they are asking for “easily reproducible and representative macro benchmark for your use case” (How to speed up shared folders)
On my machine:
docker run -it --rm -v /tmp:/tmp nginx:1.9.3 dd if=/dev/zero of=/tmp/testfile bs=1G count=1
1+0 records in
1+0 records out
1073741824 bytes (1.1 GB) copied, 17.1037 s, 62.8 MB/s
Sadly, while we “know” that this is slow, it doesn’t say much. It would help them greatly to have numbers and benchmarks as targets. I doubt they have the time to go out there and build their own test suites and, anyway, a real use case is always better.
Something like “docker run --name some-mysql -v /my/custom:/etc/mysql/conf.d -e MYSQL_ROOT_PASSWORD=my-secret-pw -d mysql:tag” runs in 2.04s with Docker-machine and takes 27.18s with Docker for Mac is easier to use. It is also very easy to integrate in a test suite, which I expect they are beefing up.