From fb937ccd1bdb454662ea9cddbea30a0dd95b0002 Mon Sep 17 00:00:00 2001 From: Will Norris Date: Fri, 13 Sep 2019 12:39:48 +0000 Subject: [PATCH] readme: add note about docker bind-mounts when we changed the container to run as a non-root user, it broke some imageproxy instances that were relying on the default docker user and file permissions. Users running dockerized imageproxy with a bind-mounted on-disk cache now need to make sure the user and file permissions line up. fixes #198 --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 12939d5..b2cad49 100644 --- a/README.md +++ b/README.md @@ -334,6 +334,11 @@ Or in your Dockerfile: ENTRYPOINT ["/app/imageproxy", "-addr 0.0.0.0:8080"] ``` +If running imageproxy inside docker with a bind-mounted on-disk cache, make sure +the container is running as a user that has write permission to the mounted host +directory. See more details in +[#198](https://github.com/willnorris/imageproxy/issues/198). + ### nginx ### Use the `proxy_pass` directive to send requests to your imageproxy instance.