by stavros · 6mo ago · 0 comments
If the question is "I need to containerize my Node app, how do I make it small?" the answer can't be "don't containerize it and don't use Node".
On M1 launching the docker containers lagged the entire system.
Trying to mount a volume caused issues. (known issue) The official web app advertisies it as multiplatform which it's not.
Anything more complex than hello world become a nightmare on Docker. PM2 as process manager and simple bash scripts demolish Docker which sounds too good in theory but is half-baked in practice.
Just use Linux, and "containers" are a subprocess and bind mount.
Mostly /s