Browse Source

Don't declare /dns as a volume.

For letsencrypt-lexicon to extend this, it needs to be able to
place its hook in the right place. If /dns is a volume then it's
auto-created and mounted and any changes made in the Dockerfile are
discarded.
master
Chris Smith 8 years ago
parent
commit
c472d23675
2 changed files with 3 additions and 3 deletions
  1. 1
    1
      Dockerfile
  2. 2
    2
      README.md

+ 1
- 1
Dockerfile View File

@@ -9,7 +9,7 @@ RUN apt-get update \
9 9
 COPY letsencrypt.sh run.sh config.sh /
10 10
 RUN chmod +x /run.sh /letsencrypt.sh
11 11
 
12
-VOLUME ["/letsencrypt", "/dns"]
12
+VOLUME ["/letsencrypt"]
13 13
 
14 14
 ENTRYPOINT ["/bin/bash"]
15 15
 CMD ["/run.sh"]

+ 2
- 2
README.md View File

@@ -42,8 +42,8 @@ the update. See the documentation for
42 42
 [letsencrypt.sh](https://github.com/lukas2511/letsencrypt.sh) for details
43 43
 on the arguments it takes.
44 44
 
45
-The container expects an executable at `/dns/hook`, and exposes the 
46
-`/dns` volume for you to mount.
45
+The container expects an executable at `/dns/hook`, so you'll need to
46
+mount the `/dns` folder or `/dns/hook` file when running the container.
47 47
 
48 48
 ### Other configuration
49 49
 

Loading…
Cancel
Save