gpt4 book ai didi

docker - Redis桌面管理器无法在docker中连接redis?

转载 作者:可可西里 更新时间:2023-11-01 11:24:17 25 4
gpt4 key购买 nike

事情是这样的:

我在win10电脑的VituralBox中安装了Cent OS 7,并在其中安装了docker,然后安装了redis并使用命令行运行:

docker run -d -p 6379:6379 --name myredis registry.docker-cn.com/library/redis

docker run -d -p 192.168.1.105:6379:6379 --name myredis registry.docker-cn.com/library/redis

(我都试过了,删除并重新运行)

详情如下:

[root@localhost /]# docker pull registry.docker-cn.com/library/redis
Using default tag: latest
latest: Pulling from library/redis
802b00ed6f79: Pull complete
8b4a21f633de: Pull complete
92e244f8ff14: Pull complete
fbf4770cd9d6: Pull complete
1479f3bcce09: Pull complete
b4020173179f: Pull complete
Digest: sha256:b77926b30ca2f126431e4c2055efcf2891ebd4b4c4a86a53cf85ec3d4c98a4c9
Status: Downloaded newer image for registry.docker-cn.com/library/redis:latest
[root@localhost /]# docker images
REPOSITORY TAG IMAGE ID C REATED SIZE
registry.docker-cn.com/library/redis latest e1a73233e3be 2 weeks ago 83.4MB
[root@localhost /]# docker run -d -p 6379:6379 --name myredis registry.docker-cn.co m/library/redis
15ce42331abfdada499378b9021a6b8506028577e7411d9b4530f55678656aa3
[root@localhost /]# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
15ce42331abf registry.docker-cn.com/library/redis "docker-entrypoint.s…" 28 seconds ago Up 26 seconds 0.0.0.0:6379->6379/tcp myredis

但是我无法将redis连接到Redis Desktop Manager,这是这个软件的日志:

2018-09-20 02:02:45 : Connection: Cancel running commands
2018-09-20 02:02:45 : Connection: Disconnect on error: Connection error: The proxy type is invalid for this operation
2018-09-20 02:02:45 : Connection: redis > connection failed

enter image description here

  • 6379 是开放的,没有被防火墙阻止,因为我检查过了。
  • Redis 没有密码。

最佳答案

https://github.com/uglide/RedisDesktopManager/issues/3841

是应用的问题,不知道开发者有没有解决,现在必须把版本从0.9.3.817降级到0.8.8.384。

任何遇到Connection error: The proxy type is invalid for this operation的人都可以这样做,或者你可以在GitHub上查看这个问题后告诉我任何其他解决方案。

谢谢。

关于docker - Redis桌面管理器无法在docker中连接redis?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52412083/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com