3 ms·
I have a Dockerfile that I use to run my production. This is already built. Is there anything I can use to build a local dev environment quickly using the Dock
by sandGorgon 11y ago
I have a Dockerfile that I use to run my production. This is already built.
Is there anything I can use to build a local dev environment quickly using the Dockerfile. Obviously I can use docker, but quite often new developers have trouble with docker.
- krishicks 11y agoYou can use Lattice for that: http://lattice.cf/docs/ http://lattice.cf/docs/
- sandGorgon 11y agothanks for that. lattice seems overly complicated for a developer machine usecase. I might as well do Docker.
- mikewhy 11y agoWhy not docker-compose[1]? One thing it does well is abstract docker commands to `docker-compose build && docker-compose up`. [1]: https://www.docker.com/docker-compose https://www.docker.com/docker-compose
- davexunit 11y agoDocker Compose depends on a bundled copy of OpenSSL that has been insecure since June: https://github.com/docker/compose/issues/1601 https://github.com/docker/compose/issues/1601
- sandGorgon 11y agoour production is built using docker-compose. But it is still not as easy for a developer to get started using docker-compose and be as effective as installing the code on his desktop. I know I'm nitpicking here, but it would be great to have an abstraction on top of Dockerfiles that make it possible to develop in a near-production environment.
- geuis 11y agoYeah, I've been trying to streamline this too. Have yet to find a good way to do local development inside docker. The best approach so far I've found is that I have my db, redis, and other services like that running in docker. My application is checked out locally and configured to hit the docker services.