Redis Commander in Docker
This is a simple docker setup for running a redis instance in conjuction with the popular free redis admin interface Redis Commander.
Repository at: https://github.com/dmportella/docker-redis-commander
Running this solution
This quite simple to run all commands are detailed below.
- Clone this repository anywhere in your system.
Firstly this setup uses a default and the official setup of redis from docker hub to install redis with a custom setup please visit redis web site.
Pull the redis image.
docker pull redis
Run the newly installed image.
docker run --name redis -p "6379:6379" -d redis:latest
Pull the docker commander image.
docker pull dmportella/redis-commander
Run the docker instance from the create image this command will create an container with the name commander linked the redis container and it will expose the application on 127.0.0.1:8080.
docker run --name commander --link redis:redis -p 127.0.0.1:8080:8080 -d dmportella/redis-commander:latest
The default credentials are detailed below however if you want to change them you can pass pass in the following environment variables on the docker run command. See docker help docs for details about overridding environment variables on the run command.