We started to use docker compose on our project and this simplified our life so much. Thank you for this overview, you are always on point, no blah blah blah.
I used docker/docker-compose at work for like 2 years. The project i was working on was quite big with a lot of services, so I had quite a lot of containers open. The main issue I had was about performance. When you use Chrome, VSCode, a hot-reload React service + all of your docker containers (which run under a virtual machine under the hood), my Macbook Pro was struggling so much. I just removed docker, and oh my god my macbook is so fast now. I finally prefer managing my own tools versions (with brew, nvm etc...) rather than having a slow Macbook Pro. If I had a Linux machine I would still use docker tho (as it doesn't require a VM) !
As an aspiring developer these videos are invaluable. Thanks!
thank you for the content cody. your videos really give a good perspective when i need it. it is like having a senior developer that i can consult to, or maybe better than that.
Thanks for sharing. Docker is on my learning list this year.
Thanks a lot for responding to everyone in the comments including me Cody, helps us out a lot when you give back to the community to help us grow
Thanks Web Dev Cody. I'm using Docker more often lately but only when I deploy. The tricky part I'm trying to wrap my head around is when we develop locally is the typescript building and updating the docker image with each file save? Thanks so much for all your videos.
Nice video! I haven't really dug into it yet, but I think using multi-stage builds might be interesting to reduce complexity and optimize the Dockerfile
Eliteππ, Real world dev experience ππΎ
been learning docker and it's pretty cool, especially when using docker-compose, the only real thing I dont like is dealing with when your node_modules change or update, usually involves deleting the node_module volume and container and rebuilding, not terrible but definitely an annoying flow breaker if your dependencies change a lot.
awesome video! just clear and straight forward explanation & easy to understand
Good job love β€
You made it really simple to understand. Great video. π₯
When would you use `docker-compose` vs `docker compose` please?
I'm playing around with Spring Boot + Microservices and i'm using docker compose too... It was a fucking pain in the ass to set everything up, but it is really satisfying to do 1 command and get 19 containers up and running π
What if, you create a complete next13 or t3 app with docker and docker-compose??? That would be a banger tho.
Cool video! Did you look into the `networks` property of a service? That makes it possible to sort of group services together that can only communicate with each other if they are in the same network. Could apply to your mongo db services.
Not sure how to transfer project to host :)
Thank you very much!
@ToddDunning