DEV Community

Discussion on: Are you using Docker for local development?

Collapse
 
rohansawant profile image
Rohan Sawant

I personally do this weird bit where I always make sure that development is 'possible' in docker, I make sure that everything spins up with a single command with docker-compose.

Then I expose the DB Container through a port and connect to it via my dev environment, or my IDE.

This means one could completely depend on docker if they choose to and partially depend on it if they want to.

Collapse
 
sriramr98 profile image
Sriram R

How do you do it? Can you link to some tutorials on how to have a good local dev workflow?

Collapse
 
thejoezack profile image
Joe Zack

I think this is the ultimate. You provide all the pieces so other devs can pick and choose the things they want to run locally. You dont have to work 100% in containers to get the benefits.

Collapse
 
mateusz__be profile image
Mateusz Bełczowski

I like this approach, thanks for sharing :)