You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There seems to be another issue when running docker-compose on Docker for Mac and having a large file base mounted to the container.
Running a large PHP project inside a multi container docker-compose project (Nginx, MySQL, Redis, PHP-FPM - all separate containers running at the same time and connecting via internal backplane).
Running the boot script on the host:
real 0m0.089s
user 0m0.065s
sys 0m0.017s
Running the boot script in the container:
real 0m1.167s
user 0m0.070s
sys 0m0.130s
Describe the results you received:
Container is about 10x slower than host for all File I/O requests.
Describe the results you expected:
Container should the same or almost equal to host file i/o
Output of docker version:
Client:
Version: 1.12.1
API version: 1.24
Go version: go1.7.1
Git commit: 6f9534c
Built: Thu Sep 8 10:31:18 2016
OS/Arch: darwin/amd64
Server:
Version: 1.12.1
API version: 1.24
Go version: go1.6.3
Git commit: 23cf638
Built: Thu Aug 18 17:52:38 2016
OS/Arch: linux/amd64
I think this is a duplicate of #77 (I'm presuming it's I/O, if the PHP project has any significant number of files (e.g. something like a CMS or a framework like Symfony).
If this is using bind mounts or compose volumes with host file system paths, this is a duplicate of #77 and I will close this in order to track it over there. If that isn't the issue, please feel free to re-open.
Description
There seems to be another issue when running docker-compose on Docker for Mac and having a large file base mounted to the container.
Running a large PHP project inside a multi container docker-compose project (Nginx, MySQL, Redis, PHP-FPM - all separate containers running at the same time and connecting via internal backplane).
Running the boot script on the host:
Running the boot script in the container:
Describe the results you received:
Container is about 10x slower than host for all File I/O requests.
Describe the results you expected:
Container should the same or almost equal to host file i/o
Output of
docker version
:Output of
docker info
:Additional environment details (AWS, VirtualBox, physical, etc.):
Using latest Docker For Mac
The text was updated successfully, but these errors were encountered: