-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve Docker's speed #923
Comments
Anyone with docker knowledge wanting to give this a go is welcome to give it a try. |
Just as a feedback, this really seems to be a macOS specific problem. On ubuntu the homepage loads in 3~4 seconds for the first time. |
Thanks for that @gionaufal ! I had a feeling this was the case. |
If it's a mac specific speed issue, this might help you out. docker-compose was very slow for me on a mac until I modified my |
@j23schoen Thanks for that suggestion. I've tried that and it didn't seem to do anything |
@maestromac when I have a chance I'll clone it and give it a shot and let you know if it helps at all |
@gionaufal on windows loads fast too (5 seconds~ for the first time) |
The fix for this is very likely to mount the source volume using More info here https://docs.docker.com/docker-for-mac/osxfs-caching/ |
The way we have our docker setup allows to run several projects at the same time in the same image and it's fast, as in <2 sec TTFB (same network, but external server serving the databases). Maybe I'm missing something, but what are you trying to load? A dev.to clone? Also, to be able to help further, can you share the configuration? |
@crawlingcity We're simply trying to load |
Thanks for contributing to this issue. As it has been 90 days since the last activity, we are automatically closing the issue in 7 days. This is often because the request was already solved in some way and it just wasn't updated or it's no longer applicable. If this issue still requires attention, please respond with a comment. Happy Coding! |
Is your feature request related to a problem? Please describe.
Nope
Describe the solution you'd like
Currently, it takes about ~3 minutes to load up a homepage from a docker instance on macOS, that's a lot of time 😱. Docker-sync could to be the tool to resolve this issue.
Describe alternatives you've considered
Perhaps the culprit of our speed is our poor configuration.
Additional context
n/a
The text was updated successfully, but these errors were encountered: