Using Docker, you may run this command to get Redis CLI:
docker run -it --rm redis redis-cli -h redis.mycompany.org -p 6379
where redis
is the redis
docker image from Docker Hub,
redis-cli
is pre-installed in that image, and all after that are parameters to redis-cli
:
-h
is hostname to connect to,
-p
is apparently the port to connect to.