Welcome • User Guide
ToS • Privacy • Canary
Donate • Bugs • License

©2025 Poal.co

1.1K

Example Setup

This example uses bind mounts. You can use named volumes if you want

  1. Decide where your data directory is going to be. This example will use /home/user/ArchiveBox/data

  2. Run the Initial Setup docker run -v /home/user/ArchiveBox/data:/data -it archivebox/archivebox init --setup

  3. That's it. Really... You can now use the CLI to archive webpages docker run -v /home/user/ArchiveBox/data:/data -it archivebox/archivebox add 'https://example.com' docker run -v /home/user/ArchiveBox/data:/data -it archivebox/archivebox add < your_urls.txt

  4. (Optional) run the web UI with Docker docker run -v /home/user/ArchiveBox/data:/data -it -p 8000:8000 archivebox/archivebox or with Compose version: '3' services: archivebox: image: archivebox/archivebox container_name: archivebox command: server --quick-init 0.0.0.0:8000 ports: - 8000:8000 environment: - ALLOWED_HOSTS=* - MEDIA_MAX_SIZE=750m volumes: - /home/user/ArchiveBox/data:/data restart: unless-stopped

Next Steps:

  • docker exec -it archivebox archivebox help to see info about all the available commands
  • Read or to learn about the various CLI and web UI functions
  • Read or to learn about the various archive method options
  • Read to learn how to set up automatic daily archiving
  • Read if you want to host your archive for others to access online
  • Read if you encounter any problems

Old post about ArchiveBox https://poal.co/s/technology/426898

##[ArchiveBox](https://archivebox.io/) |[Github](https://github.com/ArchiveBox/ArchiveBox)|[Quickstart ](https://github.com/ArchiveBox/ArchiveBox/wiki/Quickstart)|[Documentation](https://github.com/ArchiveBox/ArchiveBox/wiki/Docker)|[Demo](https://demo.archivebox.io/)| |---|---|---|---| ## Example Setup This example uses bind mounts. You can use named volumes if you want 1. Decide where your data directory is going to be. This example will use `/home/user/ArchiveBox/data` 2. Run the Initial Setup `docker run -v /home/user/ArchiveBox/data:/data -it archivebox/archivebox init --setup` 3. That's it. Really... You can now use the CLI to archive webpages `docker run -v /home/user/ArchiveBox/data:/data -it archivebox/archivebox add 'https://example.com'` `docker run -v /home/user/ArchiveBox/data:/data -it archivebox/archivebox add < your_urls.txt` 4. (Optional) run the web UI with Docker `docker run -v /home/user/ArchiveBox/data:/data -it -p 8000:8000 archivebox/archivebox` or with Compose ```version: '3' services: archivebox: image: archivebox/archivebox container_name: archivebox command: server --quick-init 0.0.0.0:8000 ports: - 8000:8000 environment: - ALLOWED_HOSTS=* - MEDIA_MAX_SIZE=750m volumes: - /home/user/ArchiveBox/data:/data restart: unless-stopped ``` ## Next Steps: - `docker exec -it archivebox archivebox help` to see info about all the available commands - Read [Usage (Compose)](https://github.com/ArchiveBox/ArchiveBox/wiki/Docker#usage) or [Usage (Plain Docker)](https://github.com/ArchiveBox/ArchiveBox/wiki/Docker#usage-1) to learn about the various CLI and web UI functions - Read [Configuration (Compose)](https://github.com/ArchiveBox/ArchiveBox/wiki/Docker#configuration) or [Configuration (Plain Docker)](https://github.com/ArchiveBox/ArchiveBox/wiki/Docker#configuration-1) to learn about the various archive method options - Read [Scheduled Archiving](https://github.com/ArchiveBox/ArchiveBox/wiki/Scheduled-Archiving) to learn how to set up automatic daily archiving - Read [Publishing Your Archive](https://github.com/ArchiveBox/ArchiveBox/wiki/Publishing-Your-Archive) if you want to host your archive for others to access online - Read [Troubleshooting](https://github.com/ArchiveBox/ArchiveBox/wiki/Troubleshooting) if you encounter any problems Old post about ArchiveBox https://poal.co/s/technology/426898

(post is archived)