Hacker Newsnew | past | comments | ask | show | jobs | submit | Jnr's commentslogin

In the age of LLM agents, still going for Docker/Podmam on anything besides local development box seems like a weird choice.

Docker has poor tooling for network level security between the containers, has issues with different runtimes per container, etc.

It is just a bit primitive if you want to expose multiple services to the internet on the same server. One of those apps will get compromised and then all the others will follow.

If you want a decent self hosted server, ask your frontier LLM agent of choice to configure kubernetes (on something like k3s) with mandatory userns mapping so nothing runs as root on the host, default deny firewall so inter-container communication is as locked down as possible, and if your router supports, set up VLANs so none of the containers can access your other devices on the LAN. Use something like backrest to handle backups, alertmanager and Grafana for monitoring, Keel for auto updates. Also consider separating ingress for public and internal services and use Tailscale with split DNS to acces the internal entrypoint. Set up Crowdsec as WAF and subscribe to their free blocklists to filter out bots. Ask it to set this all up using Ansible, so it can be maintained.

While this would be extremely time consuming to set up and maintain by hand, an agent can do and test it in a few hours.


> has issues with different runtimes per container

Could you be more specific about that?

> One of those apps will get compromised and then all the others will follow...

Per their security docs, containers are rootless but I don't see anything about VLAN isolation.

https://cloudinabottle.org/docs/how_it_works/security.html


Kubernetes supports multiple pluggable container runtimes per node. Can be quite useful when requiring some virtualization or running certain docker-in-docker scenarios for CI/CD workers. Maybe it can be done with Docker as well these days, but with kubernetes it is out of the box support.

Perhaps you could manually set up some VLANs and set up Docker networking to use those, but that has to be custom setup, none of that is a standard feature of Docker.

So instead of having to reinvent the wheel for each of those problems, you can just take kubernetes instead. And while it is a lot to learn, LLMs can make it a lot easier to do. For years I was running docker-compose stacks for self hosted things, but I replaced that once LLM agents became a bit less stupid. :)


> Docker has poor tooling for network level security between the containers

Aha so LLMs have better tooling for network level security, cloudboy?


Yes, kubernetes makes it much easier to configure proper firewall through network policies.

Docker has networks but there is no good options to limit it beyond those and it is extremely basic and basically leaves everything open between your proxy and app.


Skip kubernetes and deploy to bare server

Having separate bare server for each service would become quite expensive.

One can have multiple services on one server, using a reverse proxy to distribute trafic.

Because it still doesn't fully support all of the hardware on M1. I know it because I used Asahi while I had M1. Now I have M4 for work and it doesn't support Asahi at all.

I just use Linux PC as much as possible instead. And that 4$ M4 is just a fancy presentation computer I use when I travel.

Personally I would spend thousands on an actually great Linux laptop, but there are still none around.


Up to the M2 series are supported pretty much fully. There are a few exceptions, but it does work quite well. I'd need a good reason to grab an intel/amd laptop just for running linux.


Reviewers seem very happy with the new Framework Pro, have you considered it? Of course, it still wont have quite the same level CPU/GPU.


I bought my first minisplit ~4 years ago since none of the contractors were available in the hot summer. I bought the tools as well (vacuum pump, manifold, pipe cutters, etc.).

It cost me ~650$ total.

The next time I bought a minisplit (3.5kW one), I already had the tools and it cost me only 450$. A proper one meant for use during harsh winter would probably costs a bit more though, at around 1000$.

So I have set up a few of them for my family and friends so far. The units come pre-charged with gas for ~5M of ducts, there is nothing hard to set them up.

I also set up ESP32 controllers so I could attach them to Home Assistant, bypassing any Chinese cloud apps, etc.


In my state they require:

>160 hours of education/vocational training and 2 years’ verifiable experience in the trade

To get the license to install minisplits (two years experience generally means working an apprenticeship).

It's no wonder install costs are so much in the US. And as you've experienced, they're hardly rocket science to install. The 160 hours training would be more than enough, I'm not sure why 2 years experience gets tacked on the end.


Protection racket. They guys doing the installs now would make much less money if just anyone with some tools could start competing with them.


I don't want just anyone with some tools competing with them. This is a machine full of gas that is awful for the environment. And yes, I'm well aware that in developing countries, a lot of installers just vent coolant into the atmosphere during install rather than doing it properly.


Sure, so have them take a week-long course and register with the county and get a license. 160 hours of class and 2 years of apprenticeship means you have to find someone to apprentice _to_, so the incumbents get to gatekeep how many competitors they're willing to have, and limit it to only the people they like.


Thankfully, the training is only required if you're doing the installs for/as a business.


I think in pretty much every state releasing the refrigerant 'requires' a license (if it's not a DIY model).

And in my state, I copy pasted what was required for a 'residential' HVAC license (idk if you meant commercial HVAC or just making money on installs).


Not Montana apparently. They don't even have an HVAC contractor license anymore that I can find.


Exception rather than the rule


100%.


Unless your state is very unusual that is the requirement for installing them for other people as a tradesman. In most states if you are DIY for yourself all you legally need are the electrical permits for the wiring hookup (which for DIY don't require that "apprenticeship").


You also need an EPA 608 Type 2 license, though minisplits have been skirting around that for some time.

Easy to test for, though I'm not sure if you can do it for free like skillcat used to offer.


What will they do if they learn you installed your minisplit yourself?


Nothing because the political optics of doing anything are bad ad the last thing they want is to create a victim that causes people to ask the question why the rules are even written how they are.

Environmental law is the same way. You're mostly (details depend on jurisdiction) not supposed to pave anything without getting permission but if they pushed the issue on everyone who put a pad under their car port the rules would get changed.

They also don't 100% enforce the speed limit either.


There are people on here who live in this fantasy world where all house work is permitted and performed by licensed tradespeople which is... counterfactual.


See the Brazil movie :)

Idk for Americas, but here in rural EU no one would give a fuck. Some will ask for help.


Nothing assumes no issues. If it catches/causes a fire, good luck with insurance


Insurance would still cover this stuff. You sound like you came here from Reddit, where everyone is convinced that if you DIY anything, your insurance is entitled to deny claims.

Your insurance will pay up. Then they will consider terminating your contract. DIY work in your home does not invalidate insurance claims. This is ludicrous claim. You could go read your insurance contract in five minutes and verify.


This kind of thing is right up there with calling dig safe before a project that will be exclusively hand excavated. At some point you're basically just paying to circle jerk it with the other boot lickers in the office or at the cocktail party over how much you paid for no reason just because the rules that will never be enforced say you ought to.


With how bad Opus 5 and how expensive and limited Fable is, I would not be surprised.


I did and then rolled back. Gitea is far ahead in CI/CD features, which is the main thing I want from my own git forge. And they also seem to keep adding more meaningful features, not just refactoring to keep some federation thing working.


Interesting, thanks for the perspective. I’ve heard about both in various ways. Obviously some people like one over the other.


I block known DoH servers on my lan and forward all dns requests to my dns server.


There is a safe mode built in. If you enable it and you loose connection to the router due to some misconfiguration, it will reset within 15 minutes to the point of where you started the safe mode session. Also if you mess up the IP layer, there is a chance that you can still connect and configure RouterOS through their WinBox program using the mac address.


It should be doable by most software engineers. They did teach some basic CCNA course in the university as part of computer science studies and the concepts taught there should help a lot with configuring any router, including RouterOS. It could also be helpful to watch some guides on routing and firewall on Linux, since RouterOS is just Linux with a very specific UI on top.


I dunno. I've worked with linux routers for years and I've had a lot less problems than with mikrotik.

I still like them but it's usually not the networking knowledge that trips people up.


I just got a backup ISP at home and connected fiber directly to Mikoritk using SFP dongle instead of the box provided by ISP.

Scripts on RouterOS handle network checks for failover, DNS updates, etc.

I got that Mikrotik home router 10 years ago and it is still performing great and handles most of the use cases without issues.


I saw an estimate of around 160k $ somewhere in HN comments about the rewrite.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: