Can not connect to redis #142
-
I cannot connect to redis when run command : redis-cli -c -p 7000 my docker-compose.yml file: version: "3" OS infor : |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@trantiendung20101999 you must run the image in network mode: host for that to work. Look it up in the docker compose documentation how to modify your compose file for that to be enabled. |
Beta Was this translation helpful? Give feedback.
@trantiendung20101999 you must run the image in network mode: host for that to work. Look it up in the docker compose documentation how to modify your compose file for that to be enabled.