Yes.
All my self hosted containers are bound to some volume (since they require reading settings or databases).
Other places where you can find me
Yes.
All my self hosted containers are bound to some volume (since they require reading settings or databases).
True.
But I assume OP was already running docker from that user, so they are comfortable with those permissions.
Maybe should have made it clearer. Added to my other post. Thanks!
You shouldn’t need sudo to run docker, just can create a docker
group and add your user to it. This will give you the steps on how to run docker without sudo
.
Edit: as pointed out below, please make sure that you’re comfortable with giving these permissions to the user you’re adding to the docker group.
For the littering part, just type crontab -e
and add the following line:
@daily docker system prune -a -f
Congrats, and thank you for releasing this!
Maybe there’s a couple of personal projects I could use it for…
Meta was talking about adding Mastodon federation to their Threads app. So I very much doubt it.
They’d probably take an Embrace, Expand, Extinguish approach.
A lot of people thought this was the case for VMs and docker as well, and now it seems to be the norm.
Yes, but docker does provide features that are useful at the level of a hobbyist self-hosting a few services for personal use (e.g. reproducibility). I like using docker and ansible to set up my systems, as I can painlessly reproduce everything or migrate to a different VPS in a few minutes.
But kubernetes seems overkill. None of my services have enough traffic to justify replicas, I’m the only user.
Besides learning (which is a valid reason), I don’t see why one would bother setting it up at home. Unless there’s a very specific use-case I’m missing.
Yes, those are all great uses of it. But could all still be achieved with docker containers running on some machines at home, right?
Have you ever had a situation where features provided by kubernetes (like replicas, load balancers, etc) came in handy?
I’m not criticizing, I’m genuinely curious if there’s a use-case for kubernetes for personal self-hosting (besides learning).
Seems a bit overkill for a personal use selfhosting set-up.
Personally, I don’t need anything that requires multiple replicas and loadbalencers.
Do people who have homelabs actually need them? Or is it just for learning?
Genuinely curious, what would the advantages be?
Also, what if the Linux distro does not have systemd?