1
0
mirror of https://github.com/pirate/ArchiveBox.git synced 2025-08-31 18:11:53 +02:00

Updated Docker (markdown)

Nick Sweeting
2019-02-12 20:02:52 -05:00
parent 5849093e0d
commit 1f4b2ab2ac

@@ -50,9 +50,9 @@ docker run -v archivebox-data:/data archivebox /bin/archive 'https://example.com
To add a single link or a list of links from a file, pipe them in via stdin.
```bash
echo 'https://example.com' | docker run -i -v archivebox-data:/data archivebox
echo 'https://example.com' | docker run -i -v archivebox-data:/data archivebox /bin/archive
# or
cat bookmarks.html | docker run -i -v archivebox-data:/data archivebox
cat bookmarks.html | docker run -i -v archivebox-data:/data archivebox /bin/archive
```
To pass configuration parameters, you can use the env command.