7 ms·
pretty sure you can run docker on a $5 vps with plenty of headroom left could it be done leaner? sure is it worth it if it raises the barrier of entry of gett
by tsujamin 4y ago
pretty sure you can run docker on a $5 vps with plenty of headroom left
could it be done leaner? sure
is it worth it if it raises the barrier of entry of getting people to run the proxy? doubtful
- hosteur 4y agoA single statically linked binary would not raise the barrier of entry. Quite the opposite.
- sofixa 4y agoBut you also need to provide a systemd service for it. And statically linked against glibc or musl?
- monocasa 4y agoyou need to provide a systemd service for a docker image as well, the restrt policies leave a lot to be desired for a host that itself can restart. glibc doesn't support static linking, so it's probably going to be musl. Running a musl binary on an otherwise glibc system isn't an issue.
- franga2000 4y agoWhat if you're running on an ARM VPS? Now there are 2 binaries. What if you're running e.g. Alpine? Now you need 4. Which init system do you provide startup scripts for? You need an install script too. And what if you just want to try it on your Windows/Mac computer? Need to manually set up a VM. Meanwhile, you can just install Docker, which you might already have if you do self-hosting often, and run one command. The overhead of containers is tiny, so you really won't notice it. Bonus points for using Podman, which doesn't even have a daemon.