From 04ba00e75e6c08ad9981ff6d38c89946823817e8 Mon Sep 17 00:00:00 2001 From: hartator Date: Fri, 29 Jul 2016 10:30:41 -0500 Subject: [PATCH] Add installation instructions for the Docker image --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 502b282..c03c03e 100644 --- a/README.md +++ b/README.md @@ -40,15 +40,15 @@ Or if you want to download every images without anything else: wayback_machine_downloader http://example.com --only "/\.(gif|jpg|jpeg)$/i" -## Using the Docker images +## Using the Docker image -All the options should work the same, just run it with this command instead of installing the gem: +As an alternative installation way, we have a Docker image! Retrieve the wayback-machine-downloader Docker image this way: - docker run --rm -it -v $PWD/websites:/websites hartator/wayback-machine-downloader + docker pull hartator/wayback-machine-downloader -You can use git branches as image tags to test new features on Docker Hub automated builds: +Then, you should be able to use the Docker image to download websites. For example: - docker run --rm -it -v $PWD/websites:/websites yourname/yourrepo:yourfeature + docker run --rm -it -v $PWD/websites:/websites hartator/wayback-machine-downloader http://example.com ## Contributing