Thursday, September 10, 2015

Happy Ending: An Epic Saga of Guard and Docker

dockerguard

I've never liked how projects pollute my system. Libraries, databases, message queues, you name it and I've had to install it. Within this shared universe, it's only a matter of time before worlds collide. Two projects each require a different Redis and I'm stuck being the human dependency resolver.

There have been past attempts at project silos. None of them have been as powerful or as promising as Docker. Even so, it's not without its rough edges. This is a story about one of those edges.

I have a Rails project with existing tests that I wish to Dockerize. What I don't have is a good way to get feedback as I refactor. I want to run Guard so I can do some TDD. Normally running Guard isn't a big deal, but Docker (at least, on the Mac) makes this an issue (it has to do with libnotify). It's difficult to impossible to get file changes to kick off your guards. New technologies come with trade-offs and sometimes the simple becomes difficult.

Continue reading %Happy Ending: An Epic Saga of Guard and Docker%


by Aaron Lasseigne via SitePoint

No comments:

Post a Comment