3 ms·
When it comes to installing stuff like this, Docker is your friend.
by larrywright 6y ago
When it comes to installing stuff like this, Docker is your friend.
- karatestomp 6y agoI love how much stupid single-project-or-service-specific deployment crap Docker has saved me from having to (re-)learn. The way it tends to encourage easier and better-documented configuration than the software packaged in it usually has is a huge bonus, too. My Samba config is a couple command line args per share, now. So much better than "OK, where does this distro store its Samba configs? Is it overridden by files anywhere else? Is this a real user or a 'Samba user' intended here? How do I add those again? Which section does this line go in?' It tends to do similar things for backups. You know what you need to back up because it's explicitly mapped to a directory or disk outside the Docker image. If you failed to map something you want to back up you'll notice immediately because whatever-it-is doesn't come back after destroying and re-creating the container. No hunting through /var or /opt or whatever. Once it's working just back up whatever's in those mapped resources.
- larrywright 6y agoI can say without a doubt that I’ve tried a lot more software since Docker came on the scene. I don’t use node or php, and so installing anything that uses one of those was guaranteed to be hours of debugging something’s install when I just want to try it out. The only software I’ll try that isn’t packaged in a container is Go binaries. They’re the only thing that comes close to that (but only if there are no other dependencies).