Note
For the actual food for mind see https://gist.github.com/sa2ajj/5323326#file-summary-rst
This document _tries_ to outline important items that need to be covered in order to get riak running with docker.
Note
For the actual food for mind see https://gist.github.com/sa2ajj/5323326#file-summary-rst
This document _tries_ to outline important items that need to be covered in order to get riak running with docker.
The diode bridge is the simplest rectifier I know.
Rectifier lets you share a directory with a docker container (just like $yourvm
shared folders).
You don't have to install anything in your containers, and you only need to install diod
in the host. diod
is packaged on Ubuntu/Debian distros, and will automatically be apt-get install
-ed if needed.
Since it uses diod
to make a bridge, I called it rectifier. Yeah, that sucks, so if you have a better name, I'll steal it!
#!/bin/bash | |
# Description: Using Docker (requires docker to be installed http://www.docker.io/gettingstarted/ ), spawn a postgresql instance and a dynamically configured treeio instance | |
# Also requires postgresql client tools http://www.postgresql.org/download/linux/ubuntu/ | |
# Run chmod +x to make this file executable then run it: ./docker_create_treeio.sh | |
# Author: Adam Awan | |
# Email: adam@tree.io | |
# Set the port to forward for Tree.io | |
TREEIO_PORT="80" |