1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-15 00:03:28 +01:00

Update usage.rst Docker examples (#816)

This commit is contained in:
aponb 2023-02-20 16:10:08 +01:00 committed by GitHub
parent 5c427b9ff2
commit 81b6a57dfb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -95,8 +95,8 @@ add the WARC to a new collection and start pywb:
docker pull webrecorder/pywb docker pull webrecorder/pywb
docker run -e INIT_COLLECTION=my-web-archive -v /pywb-data:/webarchive \ docker run -e INIT_COLLECTION=my-web-archive -v /pywb-data:/webarchive \
-v /path/to:/source webrecorder/pywb wb-manager add default /path/to/my_warc.warc.gz -v /path/to:/source webrecorder/pywb wb-manager add my-web-archive /source/my_warc.warc.gz
docker run -p 8080:8080 -v /pywb-data/:/webarchive wayback docker run -p 8080:8080 -v /pywb-data/:/webarchive webrecorder/pywb wayback
This example is equivalent to the non-Docker example above. This example is equivalent to the non-Docker example above.