Live data from Hacker News

Run More Stuff in Docker

jonathan.bergknoff.com

1–10 of 293 posts

Re: Run More Stuff in Docker

#3
> If you’re using Docker on a Mac and you’ve never tried it on Linux, you owe it to yourself to try it on Linux.

So ultimately the recommendation is to install Linux and use it as my daily driver. But Linux does not run on my machine yet.

Re: Run More Stuff in Docker

#4
I'm in the same situation: until I figure (if ever) how to use NixOS and control version my OS, I tend to use Docker for any application with lots of dependencies, specially Python related ones

Re: Run More Stuff in Docker

#5
A few years ago I set a goal to minimize the number of applications installed bare-metal on my laptop. Everything is containerized, just as the blog describes. There is some initial overhead, and some extra work associated with maintaining the infrastructure, but overall I can report improved reproducibility (due to an isolated and static environment per app).

I use a bash alias for each common application. For example, "jup" launches a jupyter notebook. I have a container with the Python package "Black" which runs using a git hook to clean up my code prior to commits.

Re: Run More Stuff in Docker

#6

I'm in the same situation: until I figure (if ever) how to use NixOS and control version my OS, I tend to use Docker for any application with lots of dependencies, specially Python related ones

Did you try the Docker-based approach after trying Python's virtualenv? Or did you go directly to Docker?

Re: Run More Stuff in Docker

#8

I'm in the same situation: until I figure (if ever) how to use NixOS and control version my OS, I tend to use Docker for any application with lots of dependencies, specially Python related ones

I've recently spent a few hours in NixOS land. I even built my own ISO and booted into it from an SD card. If you want a 30 minute intro to getting started then just ping me. I'm en route to something like what you want and I'm not far ahead of you.

Re: Run More Stuff in Docker

#10

> If you’re using Docker on a Mac and you’ve never tried it on Linux, you owe it to yourself to try it on Linux. So ultimately the recommendation is to install Linux and use it as my daily driver. But Linux does not run on my machine yet.

And MacOS does? Is this some Apple Silicon humble brag? Cuz that's "Apple doesn't allow developers and enthusiasts to do their thing on their own computer that they purchased" not "Linux doesn't run on my machine".
Post reply on HN