logoalt Hacker News

Jnrtoday at 9:34 AM3 repliesview on HN

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.


Replies

crabmuskettoday at 9:46 AM

> 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

hamdounitoday at 9:38 AM

Skip kubernetes and deploy to bare server