1
0
Эх сурвалжийг харах

Merge pull request #776 from eggheads/master

Add mount option for scripts directory
Tianon Gravi 9 жил өмнө
parent
commit
f2c3afabc7
1 өөрчлөгдсөн 9 нэмэгдсэн , 1 устгасан
  1. 9 1
      eggdrop/content.md

+ 9 - 1
eggdrop/content.md

@@ -26,7 +26,15 @@ After running the eggdrop container for the first time, the configuration file,
 $ docker run -i -e NICK=FooBot -e SERVER=irc.freenode.net -v /path/to/eggdrop/files:/home/eggdrop/eggdrop/data -d eggdrop
 ```
 
-Please note that, even in daemon mode, the -i flag for docker run is required.
+Please note that, even in daemon mode, the `-i` flag for `docker run` is required.
+
+## Adding scripts
+
+An easy way to add scripts would be to create a scripts directory on the host and mount it to `/home/eggdrop/eggdrop/data`. This would be accomplished by adding an option similar to
+
+	-v /path/to/host/scripts:/home/eggdrop/eggdrop/scripts
+
+to your docker run command line (and of course, don't forget to edit your configuration file to actually load it!)
 
 ## Exposing network ports