相同版本,相同docker配置(2核2G)。Windows上宿主机更强(Intel Core i7-8700 3.2GHz / 32GB Memory),Mac(Intel Core i5/ 8GB Memory)
Docker Community Edition
- Version 17.06.2-ce-win27 (13194) Channel: stable 428bd6c
- Version 17.06.0-ce-mac18 (18433) Channel: stable d9b66511e0
跑相同的compose工程。启动速度Windows上差一大截,官方issue吐槽,有人建议——
Here are directories to exclude
- development project directories that contain .git repos or node_modules, etc
- docker image directories
- anything with thousdands of files
What services to configure exclusions on
- add directory to Windows Defender Exclusion list https://support.microsoft.com/en-us/help/4028485/windows-10-add-an-exclusion-to-windows-defender-antivirus
- add directory to Windows Indexing exclusion list-- Control Panel -> Indexing Options -> Add all of your development directories
别瞎折腾了,迁移到Mac/Linux上跑不香吗~
网友评论