当前位置:网站首页>Dock installation redis

Dock installation redis

2022-04-23 18:01:00 Shallow singing ~ happiness

1. View available Redis edition    visit Redis Image library address : https://hub.docker.com/_/redis?tab=tags.    Can pass Sort by View other versions of Redis, The default is the latest version  redis:latest.

2. You can also use  docker search redis  Command to view the available versions :

3. Take the latest version Redis Mirror image     

docker pull redis:latest

4. see redis Mirror image

docker images

5. Use the following command to run redis Containers :

docker run -itd --name redis-test -p 6379:6379 redis

6. Query run redis Containers :

docker ps

7. Get into redis Containers :

docker exec -it Containers Id /bin/bash

 

8. Connect redis

 

 

 

 

版权声明
本文为[Shallow singing ~ happiness]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231800322998.html