From fc8b9135f4f5b2a5c4347c0a175d49aaf5a00283 Mon Sep 17 00:00:00 2001 From: Andrew Fang Date: Sun, 22 Aug 2021 22:32:01 +0800 Subject: [PATCH] fix typo in readme --- readme.md | 4 ++-- test/bash-it.bats | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/readme.md b/readme.md index 270dcfc..5e58d03 100644 --- a/readme.md +++ b/readme.md @@ -38,11 +38,11 @@ To prevent zombie reaping processes i run [dumb-init](https://github.com/Yelp/du **Map the current directory inside the Container** -`docker run -it ${PWD}:/data ellerbrock/bash-it` +`docker run -it -v ${PWD}:/data ellerbrock/bash-it` **Map a [Docker Volume](https://docs.docker.com/engine/tutorials/dockervolumes/)** -`docker run -it myVolName:/app ellerbrock/bash-it` +`docker run -it -v myVolName:/app ellerbrock/bash-it` **Copy Data between Volumes** diff --git a/test/bash-it.bats b/test/bash-it.bats index 2235377..01270e5 100755 --- a/test/bash-it.bats +++ b/test/bash-it.bats @@ -13,7 +13,7 @@ # ----------- # Simple test with bats -@test "check if we can execute bash inside the container" { +@test "check if we can execute bash-it inside the container" { run docker run -it ellerbrock/bash-it --help [ "$status" -eq 0 ] }