Mostly ease of management. I have a server on which I run multiple applications. If I don’t need something anymore, I can just purge the container. The directories used by that container are clearly listed in my docker-compose file so I never have to wonder whether I purged everything that is now unnecessary.
It also makes it very easy to deploy a new service.
I have 2 questions:
Do I understand the colors correctly in that /home is deprecated and shouldn’t be used? What’s the alternative in that case?
Where would you guys put configuration files for services? /srv seems like an adequate directory