当前位置:网站首页>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
边栏推荐
- 2022江西光伏展,中國分布式光伏展會,南昌太陽能利用展
- Compilation principle first set follow set select set prediction analysis table to judge whether the symbol string conforms to the grammar definition (with source code!!!)
- Nanotechnology + AI enabled proteomics | Luomi life technology completed nearly ten million US dollars of financing
- Laser slam theory and practice of dark blue College Chapter 3 laser radar distortion removal exercise
- 消费者灰度实现思路
- ArcGIS table to excel exceeds the upper limit, conversion failed
- Identification verification code
- Halo 开源项目学习(二):实体类与数据表
- C byte array (byte []) and string are converted to each other
- Cloud native Virtualization: building edge computing instances based on kubevirt
猜你喜欢
2022 tea artist (primary) examination simulated 100 questions and simulated examination
[UDS unified diagnostic service] (Supplement) v. detailed explanation of ECU bootloader development points (2)
Qtablewidget usage explanation
Error in created hook: "referenceerror:" promise "undefined“
Transfer learning of five categories of pictures based on VGg
Eigen learning summary
JS get link? The following parameter name or value, according to the URL? Judge the parameters after
Batch export ArcGIS attribute table
re正则表达式
Uniapp custom search box adaptation applet alignment capsule
随机推荐
word frequency count
GDAL + ogr learning
Classification of cifar100 data set based on convolutional neural network
YOLOv4剪枝【附代码】
Implementation of object detection case based on SSD
Batch export ArcGIS attribute table
C language implements memcpy, memset, strcpy, strncpy, StrCmp, strncmp and strlen
Utilisation de la liste - Ajouter, supprimer et modifier la requête
Cross domain settings of Chrome browser -- including new and old versions
In JS, t, = > Analysis of
C1 notes [task training chapter I]
How to read literature
ES6
Halo open source project learning (II): entity classes and data tables
An example of linear regression based on tensorflow
Flash - Middleware
2022 judgment questions and answers for operation of refrigeration and air conditioning equipment
Go's gin framework learning
Nat commun | current progress and open challenges of applied deep learning in Bioscience
C# 的数据流加密与解密