Docker Community Forums

Share and learn in the Docker community.

Docker volume vs. bind mount performance

Is there any IO performance different between using bind mount and volume? How does it compared to IO performance on the host?

I’m using fio for testing, and I found for random read host, docker bind mount, docker volume are the similar performance, but for sequential write docker bind mount and docker volume are significantly lower than host IO performance.

Have you observed the similar? Any advice to make it better on Docker?
Thanks

Using an disk with a high I/O such as an SSD drive and then creating data directories on top of that and then mounting the directories created on SSD using binds will give you a much better performance.