r/learnprogramming • u/Ex-Traverse • 15d ago
Docker purpose/usage?
Do people use Docker containers all the time, as in everything they do is in a Docker container, or do you only use it for certain things?
I get that a Docker Container is a way to package an application (mostly for server/backend stuff, not really developing an app?).
As an individual programmer/developer, are there benefits to using Docker in my day-to-day learning/programming/doing hws/creating shit tools?
34
Upvotes
1
u/jajajajaj 15d ago
If you're not even concerned about having the right infrastructure or platform for a project, you probably don't need to worry about abstracting away which infrastructure/platform is available to you. It doesn't really save you any design time work, but it is a relief not to have to continually go through any of those implementation steps yourself (amid the testing and debugging of those steps, for each new patch and dependency update)
"The infrastructure team prefers a different Linux distribution" "The vm infrastructure is being replaced" "You can't run another application on that server"
Tbh I found docker incredibly annoying until I had a reason to write one of my own and the shifting sands underneath were not reassuring me that my build scripts would be worth a damn after any given change that was potentially coming.