# Assuming your Jekyll site is currently in ~/blog $ sudo docker run -v /home/yourusername/blog:/src -name BLOG-DATA busybox true # Using the Dockerfile in the current dir $ sudo docker build -t ubuntu-jekyll . # Run this container as a daemon using the volumes from the BLOG-DATA container, # forwarding the container port 4000 to the host port 4000. $ sudo docker run -volumes-from BLOG-DATA -d -p 4000:4000 -name jekyll ubuntu-jekyll # Now you can edit your Jekyll site in the host with your favorite editor without installing Ruby in the host!