docker build -t hexo-docker .
docker run -it \
-v $work_path/hexo:/Hexo \
hexo-docker \
sh -c 'hexo init . && npm install && npm install hexo-deployer-git --save'
cd $work_path/hexo
hexo new "My New Post"
docker run -it \
-v $work_path/hexo:/Hexo \
hexo-docker \
hexo g
docker run -it -d \
-p 4000:4000 \
-v $work_path/hexo:/Hexo \
hexo-docker \
hexo s
systemctl stop docker.service
systemctl start docker.service