4 ms·
How do people use Docker on Mac? It's so slow for me I've started to use my X220 (Linux) as it's faster than my 2018 MBP. We use containers inc. a MySQL contai
by Accacin 6y ago
How do people use Docker on Mac? It's so slow for me I've started to use my X220 (Linux) as it's faster than my 2018 MBP.
We use containers inc. a MySQL container and accessing it is incredibly slow, with a request taking 5-10seconds that's instant on the production server.
I've heard that Docker Sync can improve this, is it worth a try?
- deleted 6y ago[deleted]
- lowercased 6y agoI use docker on a mac, and... while I do feel it 'slow' in some sense, I've never seen 5-10 second access time to a mysql container. MBP 2019 here, but never saw that on MBP 2015 either. Is there some other mysql config that's trying to do some network lookup on the incoming connection? I vaguely recall that being an issue with mysql on bare metal servers years ago - if there was some specific network name as part of access control, the mysql would try to resolve the hostname, and that would sometimes be very slow, depending on external factors. (--skip-name-resolve and reverse DNS seemed to be things I'd found along the way, but I'm doing this from memory and it was 10+ years ago - haven't hit that issue in... a long time).