From 60c6adf7f5068c5f89dde637031b0e41085061d6 Mon Sep 17 00:00:00 2001 From: "Martin M. S. Pedersen" Date: Fri, 15 May 2020 10:01:35 +0200 Subject: [PATCH] Fix example in Dockerfile. The source for a mount must be absolute. --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 63361bb3..785b433b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,8 +3,8 @@ # - ArchiveBox # Usage: # docker build github.com/pirate/ArchiveBox -t archivebox -# echo 'https://example.com' | docker run -i --mount type=bind,source=./data,target=/data archivebox /bin/archive -# docker run --mount type=bind,source=./data,target=/data archivebox /bin/archive 'https://example.com/some/rss/feed.xml' +# echo 'https://example.com' | docker run -i --mount type=bind,source=$PWD/data,target=/data archivebox /bin/archive +# docker run --mount type=bind,source=$PWD/data,target=/data archivebox /bin/archive 'https://example.com/some/rss/feed.xml' # Documentation: # https://github.com/pirate/ArchiveBox/wiki/Docker#docker