1
0
mirror of https://github.com/pirate/ArchiveBox.git synced 2025-09-02 10:53:15 +02:00

Updated Install (markdown)

Nick Sweeting
2019-01-16 08:18:05 -05:00
parent eadca3d044
commit 336015d41d

@@ -62,32 +62,4 @@ If you have any trouble, see the [Troubleshooting](#troubleshooting) section at
## Docker Setup
Docker support for ArchiveBox is in beta, I'll update it as we improve the ergonomics and add an example `docker-compose.yml` file for serving the archive with nginx.
1. 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.
2. Fetch and build the ArchiveBox Docker image:
```bash
docker build github.com/pirate/ArchiveBox -t archivebox
```
3. Create a volume to hold your ArchiveBox data:
```bash
docker volume create archivebox-data
```
4. 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
```
See the [[Docker]] page.