DEV Community

Discussion on: Is Docker the New Git?

Collapse
 
thejoezack profile image
Joe Zack

I don't think that Docker will replace Git - I just think that one day Docker might be as common as git: Something that developers are expected to be familiar with.

In your case you could use docker to "container-ize" your code, so you deploy the container instead of the source code. The benefit is that the container can also hold everything your code depends on - specific versions of JavaScript for example.

Additionally, docker can make things easier and more consistent for developers too. For example, you could create a Dockerfile for your dev environment that bundles up your build dependencies - so things like NodeJs, Bower, WebPack, etc.

I don't know if Docker would make your life easier or harder, but it might be worth a look just in case :)