我正在尝试创建一个简单的脚本,它将:到目前为止,我的docker_script.sh中有这样的内容(基本上是复制手动过程):redis-cli但是,当我运行它时,它只连接到容器的BASH,而不执行任何其他操作。/docker_script.sh: line 2: redis-cli: command not found
.
: url: redis://localhost:6379/1
C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0Redis on localhost:6379 (Redis::CannotConnectError)
from C:/RailsInstaller/Ruby2
() in C:\BuildAgent\work\b2a0bfe2b1c9a118\src\ServiceStack.Redis\RedisNativeClient_Utils.cs:line 1075:l at ServiceStack.Redis.RedisNativeClient.Role() in C:\BuildAgent\work\b2a0bfe2b1c9a118\src) in C:\BuildAgent\work\b2a0bfe2b