News for hackers. Stuff that matters.
Re:Docker, Django, Traefik, and IntercoolerJS: My go-to stac... by piaste on Sunday January 31, 2021 @02:27AM (#25976900)
> I don't. I just use one $5 per month Linode for each SaaS

Well then you're basically using VMs as your containerization mechanism, with install scripts replacing Dockerfiles.

So from your perspective, don't think of Docker as a really fat binary. Think of it as a stripped-down VM that doesn't cost a minimum of $5 per instance, and comes in a standardized format with a standardized ecosystem around it (package registries, monitoring dashboards, etc.)

Re:Docker, Django, Traefik, and IntercoolerJS: My go-to stac... by mherrmann on Sunday January 31, 2021 @02:37AM (#25976946)
It's a really fat binary that adds unnecessary layers in both dev and prod. In dev, it's faster to run tests and easier to debug without Docker. And in prod, why use a vm inside a vm?
Re:Docker, Django, Traefik, and IntercoolerJS: My go-to stac... by sofixa on Sunday January 31, 2021 @03:00AM (#25977035)
> In dev, it's easier to debug without Docker. And in prod, why use a vm inside a vm?

On the contrary, it's easier to debug with Docker - it eliminates dangling system level libraries / old dependencies / cache, and everything is self-contained. If you have the problem in dev, you'll have it in prod as well.

Docker is not a VM, it's basically a big wrapper around chroot and cgroups, the performance hit is minimal. The advantage is that, again, it's self-contained, so there's little risk some OS / dangling library muddies the waters ( especially in Python that's a great risk -OS level python library installations are a thing, and many a Python library depend on C libraries on the system level, which you can't manage through Python tooling). It's also idempotent ( thus making rollbacks easier) and declarative.

Re:Docker, Django, Traefik, and IntercoolerJS: My go-to stac... by mherrmann on Sunday January 31, 2021 @03:14AM (#25977078)
I've never encountered this "dangling libraries" problem you describe in the past 7 years of developing web apps. I suspect you are working in different, maybe more specialised, environments than me. For me, it usually is really just pretty standard libraries and dependencies.
Re:Docker, Django, Traefik, and IntercoolerJS: My go-to stac... by antidocker on Sunday January 31, 2021 @05:56AM (#25977849)
This is wrong. Docker is a VM on Windows at least.
Re:Docker, Django, Traefik, and IntercoolerJS: My go-to stac... by sofixa on Sunday January 31, 2021 @12:51PM (#25980788)
Nobody is talking about Docker on Windows or Mac for production use.
Re:Docker, Django, Traefik, and IntercoolerJS: My go-to stac... by antidocker on Sunday January 31, 2021 @11:46PM (#25985641)
Don't you think Mac are not used in Prod?
Re:Docker, Django, Traefik, and IntercoolerJS: My go-to stac... by treekogreen on Sunday January 31, 2021 @08:57AM (#25978833)
Containerisation software adds so much more than just a binary with layers of indirection.

Easy fine grain control of individual application memory, namespace isolation (container to container communication on a need to know basis), A-B testing, ease of on-boarding, multi-os development, CD pipelines, ease of container restarting etc.

Re:Docker, Django, Traefik, and IntercoolerJS: My go-to stac... by antidocker on Sunday January 31, 2021 @05:57AM (#25977852)
I use Ansible instead Docker. It make no sense to use Docker at all. Ansible take care of all.