docker run -d -p ::3000/udp -p ::8888 --name btsync -v /mnt/blog jokeyrhyme/btsync
docker ps
- note the port mapped to btsync:8888
- if not using
boot2docker
, you should specify-p 127.0.0.1::8888
for security
boot2docker ip
-
note the VM's IP address
-
if not using
boot2docker
, just use 127.0.0.1 instead -
navigate web browser to VM, btsync port
-
"Add Folder" and setup /mnt/blog with full-access key for blog project directory in host btsync
docker run -t -i -P --name jekyll --volumes-from btsync -w /mnt/blog jokeyrhyme/github-pages
docker ps
-
leave out the
-t -i
if you don't want to see when files are updated -
note the port mapped to jekyll:4000
-
navigate web browser to VM, jekyll port
Main issues: