Table of contents
1. Search redis mirror
docker search redis
2. Pull the image
docker pull redis:5.0
3. Create a container and set up port mapping
docker run -id --name=my_redis -p 6379:6379 redis:5.0
Fourth, use an external machine to connect to redis
./redis-cli.exe -h 192.168.2.16 -p 6379
// ip视具体而定