From e31814e0893752efedddc59d838919465a24289c Mon Sep 17 00:00:00 2001 From: Maciej Urbanski Date: Thu, 16 Nov 2023 18:24:02 +0100 Subject: [PATCH] fix docker cmd example so it works properly on Linux --- CHANGELOG.md | 3 +++ README.md | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 575693b98..39dacba07 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Infrastructure +* Fix `docker run` example in README.md + ## [3.13.0] - 2023-11-16 ### Added diff --git a/README.md b/README.md index e7a61306e..922de2be3 100644 --- a/README.md +++ b/README.md @@ -148,7 +148,7 @@ docker run --rm -v b2:/root backblazeit/b2:latest list-buckets # remember to in When uploading a single file, data can be passed to the container via a pipe: ```bash -cat source_file.txt | docker run --rm -v b2:/root backblazeit/b2:latest upload-unbound-stream bucket_name - target_file_name +cat source_file.txt | docker run -i --rm -v b2:/root backblazeit/b2:latest upload-unbound-stream bucket_name - target_file_name ``` or by mounting local files in the docker container: