Hacker News new | ask | show | jobs
by bradleyg_ 4489 days ago
Been using this for a while now for Django development, it's really simplified the way I work.

When I want to start work on a project:

    fig up -d db
    fig up -d redis
    fig up web
One of the main benefits for me using fig/docker is that I only have a single VM on my machine, rather than one for each project. I usually just leave it running in the background.

Combined with docker-osx https://github.com/noplay/docker-osx I don't even need to ssh into my VM to start work.

3 comments

boot2docker[1] is now the recommended environment for docker on osx, but sadly sharing files is not as easy as it is with docker-osx.

They just integrated nfs support though

[1] https://github.com/boot2docker/boot2docker

Sharing files? With Expandrive you can mount anything you can ssh into. This has been possible on Linux for a long time, Apple is lagging behind there, but Expandrive is a solid 3rd party solution.
There is also sshfs which builds on top of fuse. This is also available for Mac OS X via fuseosx, install through homebrew.
I could never make that work reliably. Could you?
You can collapse the first two to `fig up -d db redis` if you like!
Could you explain more how the VM fits into this workflow?
I imagine it has something to do with the fact that Docker requires Linux, and he's on a Mac.