docker安装redis
1.拉取镜像
1 | docker pull redis:latest |
2.运行shell
1 | docker run -p 6379:6379 --name redis \ |
1 | docker run -p 6379:6379 --name redis \ |
1 | docker run -p 6379:6379 --name redis \ |
3.conf配置
1 | #bind 127.0.0.1 |
1 | docker pull redis:latest |
1 | docker run -p 6379:6379 --name redis \ |
1 | docker run -p 6379:6379 --name redis \ |
1 | docker run -p 6379:6379 --name redis \ |
1 | #bind 127.0.0.1 |