loading...

Discussion on: Dockerizing React Apps

Collapse
bpaulino0 profile image
Bruno Paulino Author

That is interesting to hear.
I run it for local development on Mac as well, but using Docker Desktop and it has been great so far. How much RAM do you have? I have 16GB which helps quite a lot.
What is the difference of using Hyperkit? I have never used it.

Collapse
adwdv profile image
advancedweb.dev

Im using 8gb ram mac. docker on mac uses different virtualization technology than linux called hyperkit not as effective as on linux

Thread Thread
mbrtn profile image
Ruslan Shashkov

8GB is too small for modern OS, especially for macOSX. With 16GB Docker works perfectly.

Thread Thread
bpaulino0 profile image
Bruno Paulino Author

That is a good point. I believe that this is a hard requirement based on the applications you are writing and IDEs you are using. For simple Node.js Apps using an editor like VS Code, 8GB should be enough. On the other hand, JVM based apps would require a bit more memory for a smooth development environment.

Collapse
adwdv profile image
advancedweb.dev

On Linux systems, Docker directly leverages the kernel of the host system, and file system mounts are native. On Windows and Mac, it's slightly different. These operating systems do not provide a Linux Kernel, so Docker starts a virtual machine with a small Linux installed and runs Docker containers in there.

Thread Thread
bpaulino0 profile image
Bruno Paulino Author

I know about the virtualization part Docker does to be able to run on a Mac, but so far it is "okay" to run it on my projects. I guess you have a different use case. Perhaps larger applications running simultaneously?
Does it happen with all your apps or is it specific to certain stack running on Docker? e.g. Java projects are known to be larger and maybe more resource intensive than node apps.