Public Repository

Last pushed: 3 years ago
Short Description
Creating a blog on Octopress 3.
Full Description

Installation and Startup

git clone my-blog
cd my-blog
# run, open the page
sudo docker run --name octo-blog -d -v `pwd`/source:/srv/source -p 4000:80 egorsmkv/octopress-3
# stop
sudo docker rm -f octo-blog

Creating new posts

You can go through ssh and use the standard commands Octopress.

sudo docker run -v `pwd`/source:/srv/source -i -t --entrypoint="/bin/bash" egorsmkv/octopress-3
octopress new post "Hello, Lord!"
# => New post: _posts/2015-04-17-hello-lord.markdown

Or create files in the source/_posts yourself.


Docker Pull Command