Re:Nanobox: Local development done right
by geuis on Wednesday November 18, 2015 @02:21PM
(#10590045)
Yeah, 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.
Re:Nanobox: Local development done right
by mikewhy on Wednesday November 18, 2015 @10:34AM
(#10588212)
Why not docker-compose[1]? One thing it does well is abstract docker commands to `docker-compose build && docker-compose up`.
Re:Nanobox: Local development done right
by davexunit on Wednesday November 18, 2015 @12:45PM
(#10589334)
Docker Compose depends on a bundled copy of OpenSSL that has been insecure since June: https://github.com/docker/compose/issues/1601
Re:Nanobox: Local development done right
by sandGorgon on Wednesday November 18, 2015 @02:38PM
(#10590159)
our 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.
Re:Nanobox: Local development done right
by krishicks on Wednesday November 18, 2015 @08:33AM
(#10587555)
You can use Lattice for that: http://lattice.cf/docs/
Re:Nanobox: Local development done right
by sandGorgon on Wednesday November 18, 2015 @08:56AM
(#10587659)
thanks for that. lattice seems overly complicated for a developer machine usecase. I might as well do Docker.
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.