- Fig: http://www.fig.sh/
- docker-osx: https://github.com/noplay/docker-osx
- boot2docker: https://github.com/boot2docker/boot2docker
- boot2docker-cli: https://github.com/boot2docker/boot2docker-cli
- Flask: http://flask.pocoo.org/
- Fig and VirtualBox Guest Additions: https://coderwall.com/p/fvfjyg
- WatchDog: https://github.com/gorakhargosh/watchdog
- Fig Github Issue discussing boot2docker support: docker/compose#26
- Docker Github Issue regarding FUSE moby/moby#4023
Last active
August 29, 2015 14:05
-
-
Save chrisconley/ae8a9e8c913b8018eebe to your computer and use it in GitHub Desktop.
Docker Fig with boot2docker and rsync
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This assumes Docker, Fig, and boot2docker have already been installed | |
# and that you've set up the app specified in Fig's Quick Start at http://www.fig.sh/. | |
# Try it! | |
boot2docker init | |
boot2docker up | |
export DOCKER_HOST=tcp://$(boot2docker ip 2>/dev/null):2375 | |
fig up | |
# Uh oh, that didn't work, let's set up rsync | |
boot2docker ssh "sudo mkdir -p `pwd` && sudo chown docker `pwd`" | |
boot2docker ssh "tce-load -wi rsync" | |
ssh-add ~/.ssh/id_boot2docker | |
rsync -av ./ docker@$(boot2docker ip 2>/dev/null):$(pwd) | |
# Try again | |
fig up | |
# Check it out in the browser! | |
open $(boot2docker ip 2>/dev/null):5000 | |
# TODO | |
# * Use https://github.com/gorakhargosh/watchdog to auto-rsync |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment