Connecting to Redis running in Docker Container from Host machine

后端 未结 5 1670
别跟我提以往
别跟我提以往 2021-02-01 14:20

I see lots of people struggling with this, sort of feel like maybe there is a bug in the redis container image, and others seem to be chasing a similar problem.

I\'m usi

5条回答
  •  广开言路
    2021-02-01 14:36

    It might be easier now with version 4.0.9 (Docker Toolbox on Win10). Simply connect with a redis client, then:

    set bind 0.0.0.0
    save
    

    The new setting sticks after stop/start.

提交回复
热议问题