Public Repository

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

Installation and Startup

git clone https://github.com/eg0r/docker-octopress-3 my-blog
cd my-blog
# run, open the page http://127.0.0.1:4000
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.

And

Docker Pull Command
Owner
egorsmkv

Comments (0)