Skip to content

Commit 3489e93

Browse files
Update jekyll.md
1 parent 9935e4d commit 3489e93

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

recipes/containers/jekyll.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,15 @@ logo: jekyll
33
---
44
# Jekyll
55
> How to run a Jekyll site in a container
6+
7+
8+
```sh
9+
export JEKYLL_VERSION=3.9
10+
```
11+
12+
```sh
13+
mkdir my-blog
14+
cd my-blog
15+
docker run --rm --volume="$PWD:/srv/jekyll" -it \
16+
jekyll/jekyll:$JEKYLL_VERSION jekyll new .
17+
```

0 commit comments

Comments
 (0)