turnbullpress / dockerbook-code

The code and configuration examples from The Docker Book (http://www.dockerbook.com)
929 stars 580 forks source link

Permission denied @ dir_initialize #55

Open kinggggg opened 5 years ago

kinggggg commented 5 years ago

[root@localhost jekyll]# docker run -i -t -v /root/docker-root/james_blog:/data --name james_blog zeek/jekyll Configuration file: none Source: /data Destination: /var/www/html Generating... jekyll 2.5.3 | Error: Permission denied @ dir_initialize - .

kinggggg commented 5 years ago

[root@localhost jekyll]# docker run -i -t -v /root/docker-root/james_blog:/data --name james_blog zeek/jekyll Configuration file: none Source: /data Destination: /var/www/html Generating... jekyll 2.5.3 | Error: Permission denied @ dir_initialize - .

i search the error from google, but i can not get a answer...is there anyone can help me ??

jamtur01 commented 5 years ago

Looks like you can't write to the destination directory - see https://github.com/envygeeks/jekyll-docker/issues/116