macOS 10.15.5 Rails 126.96.36.199 Docker 19.03.12
After building the Rails development environment with Docker, I try to use Console. The IRB is displayed as shown below.
However, I will show you how to install ** Pry **, which is useful for Rails development, after building a Rails development environment with Docker.
gem "pry-rails" gem "pry-byebug"
$ bundle install
Then try running the Console.
$ rails console
However, an error occurred and the following message was displayed at the end of the error statement.
$ brew install nodejs
Then run the console.
$ rails console  pry(main)>
We have successfully installed and implemented Pry!