1
0
mirror of https://github.com/pirate/ArchiveBox.git synced 2025-09-01 18:32:40 +02:00

Created Docker (markdown)

Nick Sweeting
2019-01-16 08:19:13 -05:00
parent 336015d41d
commit c2e13a4510

35
Docker.md Normal file

@@ -0,0 +1,35 @@
Make sure you have Docker installed and set up:
If you don't already have docker installed, follow the official install instructions for Linux, macOS, or Windows https://docs.docker.com/install/#supported-platforms.
# Docker Compose
```bash
docker compose up
```
# Docker
1. Fetch and build the ArchiveBox Docker image:
```bash
docker build github.com/pirate/ArchiveBox -t archivebox
```
2. Create a volume to hold your ArchiveBox data:
```bash
docker volume create archivebox-data
```
2. Run ArchiveBox with `docker run` to add links to your archive:
To add a list of pages via URL of a feed.
```bash
docker run -v archivebox-data:/data archivebox 'https://example.com/some/rss/feed.xml'
```
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
# or
cat bookmarks.html | docker run -i -v archivebox-data:/data archivebox
```