Docker is good for development and deployment?

Jairon Landa
5 replies
Hi, this is my first discussion in PH. I am developing a small project (solo dev). My stack is FastAPI and ReactJS. However, it is still in the beta stage. My goal with Docker is to handle downtime when I update or add something to my project. Can someone share their experience developing and deploying an app using Docker? What is the downside to using an overkill setup to deploy a small project? Is it good for the long term? Thanks!

Replies

Ash Rahman 🎮
Docker would be overkill for a small project. Check DigitalOcean App Platform.
Paxshal
Docker for a small project can be overkill in my opinion. Spend more time on your product at first instead of focusing much on deployment stack.
Bob Ketterer
Consistent development environments for the entire team. All developers use the same OS, same system libraries, same language runtime, independent of the host OS. The development environment is exactly the same as the production environment.
Harper Wang
Docker could package & run your app quickly as the unified binary & runtime dependencies & environment, supposing what you or other guys did for this when no docker tech widely used before y2010? they would had been using a bundle of softwares, e.g. cvs/svn/perforce, coding the shell scripts to build & deploy their products, or some comercial (or free) CI/CD tools, even though a lot more are still using such bundle currently. For now the container (docker) and the orchestration (kubernets) tech have exploded in popularity, benefited from the contribution of the open source community and the companies (Google, IBM & RedHat, etc). No need overthinking about it, so many CI/CD tools-chain leveraging docker, just choose the right one and avoid some pitfalls in necessary, e.g. a little bit performance overhead, the view of the resource used (cpu, memory, file descriptor) inside docker instance, the excessive permissions could lead some security issue (privilege escalation), but such pitfalls you cloud also encouter while running your products on non-docker enviorment.