jgonzalezd / redis-cli

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting started

Installation

Automated builds of the image are available on Dockerhub and is the recommended method of installation.

docker pull goodsmileduck/redis-cli:latest

Alternatively you can build the image yourself.

docker build -t goodsmileduck/redis-cli github.com/goodsmileduck/redis-cli

Quickstart

Try connect redis-cli to localhost with default port :

docker run --name redis-cli -it goodsmileduck/redis-cli

Command-line arguments

You can customize the launch command of Redis server by specifying arguments to redis-cli on the docker run command. For example the following command will ping to hostname with port 6379 and will delete container after finish:

docker run --rm --name redis-cli --it goodsmileduck/redis-cli redis-cli -h hostname -p 6379 ping

About


Languages

Language:Dockerfile 100.0%