docker安装redis

Updated on in 程序人生 with 0 views and 0 comments

1.docker pull redis
2.docker run -d --name redis-server -p 6379:6379 redis --requirepass "redis123"
备注:docker拉取镜像在国内需要修改docker配置,可以参考https://cr.console.aliyun.com/cn-hangzhou/instances/mirrors


标题:docker安装redis
作者:wenyl
地址:http://www.wenyoulong.com/articles/2020/05/14/1589444659670.html