# docker-jekyll **Repository Path**: andals/docker-jekyll ## Basic Information - **Project Name**: docker-jekyll - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2018-02-13 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # docker-jekyll [git](https://gitee.com/andals/docker-jekyll) # Init ``` git clone git@gitee.com:andals/docker-jekyll.git jekyll cd jekyll prjHome=`pwd` jekyllVer=latest ``` # Build image ``` docker build -t andals/jekyll:${jekyllVer} ./ ``` # Run container ``` docker run -d --name=jekyll-${jekyllVer} --volumes-from=data-home --net=host -e "SITE_HOME=your_site_home's_absolute_path" -e "JHOST=your_jekyll_host" -e "JPORT=your_jekyll_port" andals/jekyll:${jekyllVer} SITE_HOME must be set JHOST default to be 0.0.0.0 JPORT default to be 4000 eg: docker run -d --name=jekyll-${jekyllVer} --volumes-from=data-home --net=host -e "SITE_HOME=$HOME/devspace/personal/ligang1109.github.io" -e "JPORT=5000" andals/jekyll:${jekyllVer} ```