From 5cccd55ca71f86130af0e3b3f8f97c186dc788b7 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Mon, 15 Feb 2021 23:32:24 -0500 Subject: [PATCH] clarify docker input and tty flags when piping stdin --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 38850745..ba7b3a28 100644 --- a/README.md +++ b/README.md @@ -117,6 +117,7 @@ open 'http://127.0.0.1:8000' # you can also add links and manage your archive via the CLI: docker-compose run archivebox add 'https://example.com' +echo 'https://example.com' | docker-compose run archivebox -T add docker-compose run archivebox status docker-compose run archivebox help # to see more options @@ -143,6 +144,7 @@ open http://127.0.0.1:8000 # you can also add links and manage your archive via the CLI: docker run -v $PWD:/data -it archivebox/archivebox add 'https://example.com' +echo 'https://example.com' | docker run -v $PWD:/data -i archivebox/archivebox add docker run -v $PWD:/data -it archivebox/archivebox status docker run -v $PWD:/data -it archivebox/archivebox help # to see more options