3 ms·
How is writing those complicated scripts but in a dockerfile or docker-compose file any better? Software written with docker in mind is easier to manage becaus
by peanut-walrus 3y ago
How is writing those complicated scripts but in a dockerfile or docker-compose file any better?
Software written with docker in mind is easier to manage because it generally follows better design principles, such as separating configuration from state, being failure tolerant, treating the network as opaque, etc. This software would be easy to deploy without using docker as well.
If you're trying to deploy some complex piece of software which doesn't follow these principles, it's exactly as hard or even harder with docker. Unless you outsource the work to random people on the internet, but then you are not building production systems.
Containers are great for lots of things and containerization in general has forced developers to write better software, but there really isn't a lot of difference in difficulty in running that webapp in a container vs just running it on the machine directly.
- deleted 3y ago[deleted]
- Too 3y agoYou don’t get config drift or “Works on my machine” with docker, compared to scripts on the host.