News for hackers. Stuff that matters.
Re:Run More Stuff in Docker by pram on Sunday December 27, 2020 @12:29AM (#25549096)
Now talk about deploying something NOT using Kubernetes. The double whammy. Now you're looking like an insane 100 year old graybeard fossil.
Re:Run More Stuff in Docker by klodolph on Sunday December 27, 2020 @02:35AM (#25549520)
I had a conversation a couple months ago where some guy was telling me that I should run my personal website using Kubernetes. It’s a static website served with Nginx! I just about lost my mind trying to talk to this guy, and he kept trying to convince me to try Kubernetes for my personal website.
Re:Run More Stuff in Docker by indemnity on Sunday December 27, 2020 @03:20AM (#25549668)
Why even run nginx? My personal website is served out of a private S3 bucket, with CloudFront sitting in front of it.

As a former sysadmin, the less actual admin I need to do the better.

Re:Run More Stuff in Docker by d3nj4l on Sunday December 27, 2020 @05:01AM (#25550042)
You could have other, self-hosted services there. That's my setup: I have self hosted trilium and used to self host matrix. The personal nginx served website was just a cherry on top of the cake.
Re:Run More Stuff in Docker by cobbzilla on Sunday December 27, 2020 @06:06AM (#25550251)
> I have self hosted trilium and used to self host matrix.

Wait, you’re self hosting multiple apps on one system, and not using K8?!? Your apps can’t autoscale or do blue/green upgrades or any of the cool stuff you are now mandated to do by the cargo cult. How do you sleep at night??

/s

Re:Run More Stuff in Docker by Frost1x on Sunday December 27, 2020 @09:49AM (#25551377)
>or any of the cool stuff you are now mandated to do by the cargo cult.

This is ultimately what drives me insane about the tech sector: so many choices are trend based and cult like when any sort of technical discipline shouldn't be.

Re:Run More Stuff in Docker by klodolph on Sunday December 27, 2020 @11:27AM (#25552070)
S3 has no https and unsatisfactory performance.

My website used to be in an S3 bucket, I was unhappy with it.

Re:Run More Stuff in Docker by jbboehr on Monday December 28, 2020 @04:07AM (#25557798)
If you run it behind CloudFront it does support HTTPS.
Re:Run More Stuff in Docker by klodolph on Monday December 28, 2020 @06:50PM (#25564786)
Anything “supports HTTPS” if you count putting an HTTPS proxy in front of it. In other words, S3 does not support HTTPS, but you can work around that limitation by combining it with other services.

My personal website is low-traffic, it’s not going to be very hot in any CDN caches. Based on my experiences with S3 performance, adding another layer of cache misses in front of it is probably just going to slow things down.

Re:Run More Stuff in Docker by jbboehr on Tuesday December 29, 2020 @10:18PM (#25578053)
Fair enough.

The suggestion was more for the HTTPS part and not the performance part of your complaint. It's simple enough to set up, pay-as-you-go, only requires one vendor, and should be very scalable.

I'd just as soon throw up nginx on a Linode, myself.

Re:Run More Stuff in Docker by biglost on Sunday December 27, 2020 @12:40AM (#25549135)
Or overuse of microservices
Re:Run More Stuff in Docker by TimTheTinker on Sunday December 27, 2020 @01:00AM (#25549205)
^ this. Proliferation of many microservices and repos is a trend I’m trying (and failing) to buck at my current job.

The next time I have to copy/paste the same utility to a new microservice because [insert corporate reason] I’m going to scream.

Re:Run More Stuff in Docker by pjmlp on Sunday December 27, 2020 @03:55AM (#25549809)
Fossil here, happily using VMs.
Re:Run More Stuff in Docker by keyle on Sunday December 27, 2020 @05:28AM (#25550129)
At this rate we should make a fossil of deployments moto, where we claim there is nothing wrong with makefiles and bash scripts :)

like http://programming-motherfucker.com but against triple-buffered-virtualization.

Re:Run More Stuff in Docker by XorNot on Sunday December 27, 2020 @04:40AM (#25549955)
I guess that makes me fossilizing, because this is the direction I think we should really be heading.

When I stare at docker long enough I wind up at "why couldn't this be a static binary" or "this would be easier to secure if it was it's own VM".

Re:Run More Stuff in Docker by pjmlp on Sunday December 27, 2020 @04:55AM (#25550018)
Many people are basically misusing Docker to work around Python and Ruby dependency problems.
Re:Run More Stuff in Docker by keyle on Sunday December 27, 2020 @05:27AM (#25550122)
^ this is a very good point. Someone else's mess, let me put it all together, in a nice pot plant.
Re:Run More Stuff in Docker by scaryclam on Sunday December 27, 2020 @12:02PM (#25552361)
9/10 times I see the problems getting solved in the same way you can do without docker, except now the application is also running as root and several more containers are added to work around other issues created by running in docker :(
Re:Run More Stuff in Docker by piaste on Sunday December 27, 2020 @03:48PM (#25554113)
A Docker container is a lot simpler to maintain than a VM, for just about any task you care to mention.

A static binary is much better than a Docker container, I agree. Unfortunately a lot of useful apps can't or won't ship as a static binary (Java, Python, PHP apps), and Docker makes them behave much more like a static binary.

Re:Run More Stuff in Docker by pjmlp on Monday December 28, 2020 @06:16AM (#25558319)
Java can certainly be shipped as single static binary, AOT compilers exist since around 2000.

Same applies to Python bundlers like py2exe.