docker安装redis

docker pull redis:latest

docker run -itd --name redis-test -p 6379:6379 redis 
docker exec -it redis-test /bin/bash

redis-cli

你可能感兴趣的:(docker安装redis)