I'm trying to connect redis-cli, but i can't. what is wrong?
Asked
Active
Viewed 455 times
1 Answers
1
Redis server is running in the container. The Redis image contains redis-cli binary.
You can connect the redis-cli
binary in the running container if you're just hacking around stuff.
docker exec -it `docker ps --filter 'ancestor=redis' --filter 'status=running' --format '{{.ID}}'` redis-cli
Otherwise, follow through with the recommendation to install redis-tools
.

Oluwafemi Sule
- 36,144
- 1
- 56
- 81