当前位置:网站首页>Docker 安裝 Redis
Docker 安裝 Redis
2022-04-23 18:00:00 【淺唱~幸福】
1.查看可用的 Redis 版本 訪問 Redis 鏡像庫地址: https://hub.docker.com/_/redis?tab=tags。 可以通過 Sort by 查看其他版本的 Redis,默認是最新版本 redis:latest。
2.還可以用 docker search redis 命令來查看可用版本:
3.取最新版的 Redis 鏡像
docker pull redis:latest
4.查看redis鏡像
docker images
5.使用以下命令來運行 redis 容器:
docker run -itd --name redis-test -p 6379:6379 redis
6.查詢運行的redis容器:
docker ps
7.進入redis容器:
docker exec -it 容器Id /bin/bash
8.連接redis
版权声明
本文为[淺唱~幸福]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231800322998.html
边栏推荐
- Tell the truth of TS
- 2022江西储能技术展会,中国电池展,动力电池展,燃料电池展
- Crawling mobile game website game details and comments (MQ + multithreading)
- Fashion classification case based on keras
- 587. 安装栅栏 / 剑指 Offer II 014. 字符串中的变位词
- C language input and output (printf and scanf functions, putchar and getchar functions)
- Crawl the product data of Xiaomi Youpin app
- Go language JSON package usage
- Timestamp to formatted date
- Auto. JS custom dialog box
猜你喜欢
Batch export ArcGIS attribute table
Classification of cifar100 data set based on convolutional neural network
Logic regression principle and code implementation
Fashion classification case based on keras
JS forms the items with the same name in the array object into the same array according to the name
k8s之实现redis一主多从动态扩缩容
2022江西光伏展,中國分布式光伏展會,南昌太陽能利用展
An example of linear regression based on tensorflow
Error in created hook: "referenceerror:" promise "undefined“
Cross domain settings of Chrome browser -- including new and old versions
随机推荐
Go对文件操作
587. Install fence / Sword finger offer II 014 Anagrams in strings
Thirteen documents in software engineering
Oil monkey website address
Use of list - addition, deletion, modification and query
Selenium + phantom JS crack sliding verification 2
Using files to save data (C language)
The method of changing a value in the array and a value in the object of wechat applet
Go file operation
Format problems encountered in word typesetting
Basic usage of crawler requests
mysql自动启动设置用Systemctl start mysqld启动
C [file operation] read TXT text by line
re正则表达式
_ FindText error
Read excel, int digital time to time
Yolov4 pruning [with code]
SystemVerilog (VI) - variable
re正則錶達式
Nat commun | current progress and open challenges of applied deep learning in Bioscience