From 4c6b73138cc5ec80b889f4c6301c88ff4dd3f72c Mon Sep 17 00:00:00 2001 From: Marian13 Date: Sat, 3 Sep 2022 15:19:58 +0300 Subject: [PATCH] T-95: Share gem folder between host and container --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 869869a..83f4d8a 100644 --- a/README.md +++ b/README.md @@ -285,6 +285,11 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/marian docker run --rm -it basic_temperature:3.1 bash ``` +* Run container with volume (share gem folder between host and container): + ```bash + docker run --rm -it -v $(pwd):/gem basic_temperature:3.1 bash + ``` + * Ruby REPL with already required gem files: ```bash docker run --rm -it basic_temperature:3.1 bin/console