Live data from Hacker News

Docker on MacOS is slow and how to fix it

paolomainardi.com

1–10 of 211 posts

Re: Docker on MacOS is slow and how to fix it

#6

My preferred fix: don't develop in Docker.

Have fun managing osx and Linux dependencies then when you could just maintain one.

When I used to use a mac I just put all my "Linux" (GNU really) dependencies in a prefix and that worked pretty well. Docker is kind of overkill for what people use it for IMO.

Re: Docker on MacOS is slow and how to fix it

#7
What sort of workloads are people doing where the filesystem access is limiting them? I develop python web apps on a mac and use dockerized postgres and a dockerized flask app. I don't seem to experience any noticeable issues. When I am developing I mount the source code directory as a volume so code edits are synced live into the running docker container.

I also develop frontends using vue, managed by npm. In my experience this doesnt need to be dockerized since npm installs everything in a subdirectory per project. Is there a benefit to running this as a dockerized app?

Re: Docker on MacOS is slow and how to fix it

#8

Earlier quoted context omitted.

Have fun managing osx and Linux dependencies then when you could just maintain one.

When I used to use a mac I just put all my "Linux" (GNU really) dependencies in a prefix and that worked pretty well. Docker is kind of overkill for what people use it for IMO.

[deleted]

Re: Docker on MacOS is slow and how to fix it

#9

I finally gave up the effects of Docker on performance and battery life and switched to Windows. I still don't have a long lasting battery, but at least performance is better.

I have been working in a Citrix workspace Windows machine for the past 6 months with a Ubuntu 20 wsl2. I was very much anxious of the experience before onboarding but I have to say, I barely deal with the Windows side of things. Having said that, if I was to move away from mac, I‘d just go directly to Linux.

Re: Docker on MacOS is slow and how to fix it

#10

What sort of workloads are people doing where the filesystem access is limiting them? I develop python web apps on a mac and use dockerized postgres and a dockerized flask app. I don't seem to experience any noticeable issues. When I am developing I mount the source code directory as a volume so code edits are synced live into the running docker container. I also develop frontends using vue, managed by npm. In my exp…

[deleted]
Post reply on HN