//进入容器
docker exec -it gyredis bash
//登录redis
redis-cli
docker安装redis
原文:http://www.cnblogs.com/gyadmin/p/7814334.html