3 ms·
Does anybody have any guides on setting up dev environments for code within Docker? I recall a Dockercon talk last year from Lyft about spinning up microservice
by philip1209 11y ago
Does anybody have any guides on setting up dev environments for code within Docker? I recall a Dockercon talk last year from Lyft about spinning up microservices locally using Docker.
We're using Vagrant for development environments, and as the number of microservices grows - the feasibility of running the production stack locally decreases. I'd be interested in learning how to spin up five to ten docker services locally on OSX for service-oriented architecture.
This product from Docker has strong potential.
- grahamannett 11y agodocker-compose is kind of oriented towards what I think you are referring to, have you tried that out? I've done a bit with it and was thinking about explaining how I used it in some post but didn't know if it would be very useful outside of what I was doing. If you email me a small description I could probably whip up a docker-compose.yml as an example since it's fun to play around with.
- was_boring 11y agoI use docker, specifically docker-compose to do just that. So far it's 7 containers spread across 5 code bases all brought up with one command, `docker-compose up`. The django quickstart guide is a good starting point for wrapping your head around it, https://docs.docker.com/compose/django/ https://docs.docker.com/compose/django/
- fordh 11y agoCould you share something about how you compose containers from different code bases? This has always felt hacky to me, but maybe I'm doing it wrong.