Browse Source

add docker help text

Nick Sweeting 5 years ago
parent
commit
f24cb3dcbe
1 changed files with 3 additions and 0 deletions
  1. 3 0
      archivebox/main.py

+ 3 - 0
archivebox/main.py

@@ -186,6 +186,9 @@ def help(out_dir: str=OUTPUT_DIR) -> None:
         print('    1. Create an empty directory, then cd into it and run:')
         print('    1. Create an empty directory, then cd into it and run:')
         print('    2. archivebox init')
         print('    2. archivebox init')
         print()
         print()
+        print('If using Docker, you need to mount a volume to use as your data dir:')
+        print('    docker run -v /some/path:/data archivebox ...')
+        print()
         print('For more information, see the documentation here:')
         print('For more information, see the documentation here:')
         print('    https://github.com/pirate/ArchiveBox/wiki')
         print('    https://github.com/pirate/ArchiveBox/wiki')