What happens when you have multiple services, and a database server as well. What do you use? docker-compose? minikube? microk8s?

Do many people use docker for development? E.g. mounting your code as a volume in a container, so code changes are picked up by [say] rails, without having to rebuild each time?

What happens when you have multiple services, and a database server as well. What do you use? docker-compose? minikube? microk8s?
Or are those inappropriate for development?
And how do you set up new devs, when they may be on OSX or Windows, with code saved in different locations?
 
I've been using docker for local dev, but it quickly gets unmanageable when you have multiple services. Even more difficult to get junior devs set up and running
You already invited:
@Aidan  We use docker-compose and http://docker-sync.io/ to get around filesystem slowness on OSX with Docker, but it isn’t perfect. A clean sync of the filesystem still takes a long time.
Docker is just an option for our devs at the moment and it isn’t really getting any traction because of the extra friction it introduces. That said, I’m forcing myself to use it so that we can actually identify the points of friction and mitigate them. We originally set up Docker to help reduce the cost of on-boarding new devs.  We only have a single app image with mysql and redis images and all devs on OSX — so it’s fairly simple.

KATIE

Upvotes from:

The case I’m using it for is where there’s multiple languages/ecosystems in use, so it’s useful for development

Makes it much easier to spin up an app that uses a different language/ecosystem you haven’t set up before

Tedster

Upvotes from:

I used docker for writing code but filesystem performance was a nightmare.
Yup! And I switched to Linux so probably that'd eliminate the filesystem slowness anyway

Jennifer Cooper

Upvotes from:

docker-compose is still a good way for new comers to just clone and start the full-stack including other services. Once they know what is required to run the stack, then they should be able to do their own personalized set up.

If you wanna answer this question please Login or Register