From 279328c26b0d0718bcc4e6bc8efb8d77492af659 Mon Sep 17 00:00:00 2001 From: sroerick Date: Fri, 25 Sep 2015 19:59:32 -0600 Subject: [PATCH 1/2] added docker file permission instructions. --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index ef732ad84..13e851708 100644 --- a/README.md +++ b/README.md @@ -154,6 +154,11 @@ ipfs files that will persist when you restart the container. export ipfs_staging= export ipfs_data= + +Make these folders accesible from docker: + + sudo chmod -R 777 /absolute/path/to/somewhere/ + sudo chmod -R 777 /absolute/path/to/somewhere_else/ Start a container running ipfs and expose ports 4001, 5001 and 8080: From 4a0725fe2e17f668bf915ba5f15ab4fd616c1d87 Mon Sep 17 00:00:00 2001 From: Roerick Sweeney Date: Sun, 27 Sep 2015 02:06:53 -0600 Subject: [PATCH 2/2] added docker file permission instructions again I screwed up my initial commit, so here goes again. That's what i get for using the github gui... I added the instructions to make the ipfs_data and ipfs_staging globally readable, which prevents permission errors. It may be better to limit permissions in some way, to prevent potential security risks. License: MIT Signed-off-by: sroerick sweeney@roerick.me --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 13e851708..4de7c3b90 100644 --- a/README.md +++ b/README.md @@ -155,7 +155,7 @@ ipfs files that will persist when you restart the container. export ipfs_staging= export ipfs_data= -Make these folders accesible from docker: +Make sure docker can access these folders: sudo chmod -R 777 /absolute/path/to/somewhere/ sudo chmod -R 777 /absolute/path/to/somewhere_else/