3 ms·
Honestly, I hate using docker. It’s a pain to deal with in your dev environment, especially on a Mac. It’s not lightweight for your dev machine. It requires a g
by zarzavat 3y ago
Honestly, I hate using docker. It’s a pain to deal with in your dev environment, especially on a Mac. It’s not lightweight for your dev machine. It requires a good internet connection and it uses a lot of data. It’s all very “enterprise”.
If you’re sat in an office, you’re on a work computer, you need reproducible dev environments, probably none of that bothers you.
However, if I’m working by myself, I don’t want to deal with any of that Rube Goldberg shit. I use shell scripts, ssh, rsync and pretend it’s the 00s again, and oh my god I’m so much happier in that universe.
- dartos 3y agoMaybe it’s different on Mac, maybe I’m biased, but I’ve been using docker since it was a small project and I’ve never felt that enterprise cruft. It saved me from the Rube Goldberg esque pile of bash scripts and puppeteer configs of the 00s. Funny how perception changes.
- petre 3y agoIt uses a VM on Macs, it's usually slow and requires too much thinkering to get it to work decently. I gave up development with Linux tools on Macs, very annoying and not worth the hassle. I think it even works better in Windows since WSL. I'm using runit instead of pm2. Systemd should also do fine. It's over engineered.
- Kab1r 3y agoIronically WSL uses a VM as well
- petre 3y agoOf course it does, but at least it works quite decently. And you're running an actual distribution under it, so no hassles with MacPorts, Homebrew and other third party solutions for installing dependencies. If development on Snow Leopard was quite annoying, I can't imagine what it is now with the newer Apple sandboxes in place. https://learn.microsoft.com/en-us/windows/wsl/compare-versions https://learn.microsoft.com/en-us/windows/wsl/compare-versio...
- jasonjmcghee 3y agoI’m guessing you meant puppet (iac) not puppeteer (e2e testing)
- dartos 3y agoYes puppet! It’s been a long time.
- zarzavat 3y agoIt’s so much worse on a Mac. Wrong OS, wrong CPU architecture. Never had any issue with it in deployment. The other problem for me is, let’s say you’re in a hotel with crappy wifi and docker wants to download a large quantity of images, you’re in for a rough time. There’s a very sharp downwards trajectory of user experience once you leave the happy path.
- dartos 3y agoAgain, no idea about osx, but if you have any project with lots of deps, it’s going to take time to download. A well crafted image may add an extra 500MBs on top of that. By no means minimal, but not really that bad. (Assuming you have no base images like python or Ubuntu already on your system) And idk what you mean by “happy path” for docker. Every dockerfile is a snowflake. It’s not a framework like rails. If you have a good understanding of the tool you shouldn’t have any trouble.