命令:

docker exec -it  first-redis  redis-server -v

ps:其中   first-redis  为 redis在docker中的容器名称

查看运行在Dokcer下的 redis的版本

 

相关文章: