1
0
Fork 0
mirror of synced 2024-06-12 15:34:34 +12:00

clarify docker input and tty flags when piping stdin

This commit is contained in:
Nick Sweeting 2021-02-15 23:32:24 -05:00 committed by GitHub
parent e8069f8043
commit 5cccd55ca7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
</code></pre>
@ -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
</code></pre>