From 3f852abc7f29538562c8624f6d1af3f95802efbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20Correa=20G=C3=B3mez?= Date: Fri, 23 Apr 2021 21:37:17 +0200 Subject: [PATCH] Remove default volume from Dockerfile Currently, as of https://github.com/moby/moby/issues/3465 `VOLUME` points cannot be removed in inherited images. Therefore, anybody aiming to modify the image or the LE_CONFIG_HOME, will still have an unnamed volume created even if it is not used. If users want real persistence, then the volume should be configured and named at creation time. Otherwise an new unnamed volume will be created each time, not providing much of an advantage. --- Dockerfile | 2 -- 1 file changed, 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4618efaf..6eb63ad7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -69,7 +69,5 @@ else \n \ exec -- \"\$@\"\n \ fi" >/entry.sh && chmod +x /entry.sh -VOLUME /acme.sh - ENTRYPOINT ["/entry.sh"] CMD ["--help"]