5 ms·
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 fi
by bradleyg_ 13y 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 https://github.com/noplay/docker-osx I don't even need to ssh into my VM to start work.
- aanand 13y agoYou can collapse the first two to `fig up -d db redis` if you like!
- rjzzleep 13y agoboot2docker[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 https://github.com/boot2docker/boot2docker
- m_mueller 13y agoSharing 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.
- chatmasta 13y agoCould you explain more how the VM fits into this workflow?
- Legion 13y agoI imagine it has something to do with the fact that Docker requires Linux, and he's on a Mac.