Skip to content

Commit 766b622

Browse files
npes87184daattali
authored andcommitted
README.md: add solution of write permission when setup docker env (daattali#450)
* README.md: add solution of write permission when setup docker env Signed-off-by: Yu-Chen Lin <npes87184@gmail.com> * Update README.md
1 parent 1edb5db commit 766b622

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,12 @@ Beautiful Jekyll is meant to be so simple to use that you can do it all within t
237237
docker run -d -p 4000:4000 --name beautiful-jekyll -v "$PWD":/srv/jekyll beautiful-jekyll
238238
```
239239

240+
Note: If you encounter write permission problems with `Gemfile.lock`, try:
241+
242+
```bash
243+
touch Gemfile.lock
244+
chmod a+w Gemfile.lock
245+
```
240246

241247
Now that Docker is set up, you do not need to run the above steps again. You can now view your website at http://localhost:4000/. You can start the container again in the future with:
242248

0 commit comments

Comments
 (0)