README.md: add solution of write permission when setup docker env (#450)

* README.md: add solution of write permission when setup docker env

Signed-off-by: Yu-Chen Lin <npes87184@gmail.com>

* Update README.md
This commit is contained in:
yuchenlin 2019-01-21 12:27:18 +08:00 committed by Dean Attali
parent 1edb5db297
commit 766b62238f

View File

@ -237,6 +237,12 @@ Beautiful Jekyll is meant to be so simple to use that you can do it all within t
docker run -d -p 4000:4000 --name beautiful-jekyll -v "$PWD":/srv/jekyll beautiful-jekyll
```
Note: If you encounter write permission problems with `Gemfile.lock`, try:
```bash
touch Gemfile.lock
chmod a+w Gemfile.lock
```
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: