当前位置:网站首页>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
边栏推荐
- mysql自动启动设置用Systemctl start mysqld启动
- 2022江西光伏展,中國分布式光伏展會,南昌太陽能利用展
- Go's gin framework learning
- The ultimate experience, the audio and video technology behind the tiktok
- 2022 tea artist (primary) examination simulated 100 questions and simulated examination
- Secure credit
- 列錶的使用-增删改查
- Identification verification code
- 纳米技术+AI赋能蛋白质组学|珞米生命科技完成近千万美元融资
- C#字节数组(byte[])和字符串相互转换
猜你喜欢
Go's gin framework learning
Remember using Ali Font Icon Library for the first time
Implementation of object detection case based on SSD
Implementation of k8s redis one master multi slave dynamic capacity expansion
2022 Jiangxi Photovoltaic Exhibition, China Distributed Photovoltaic Exhibition, Nanchang Solar Energy Utilization Exhibition
Theory and practice of laser slam in dark blue College - Chapter 2 (odometer calibration)
The JS timestamp of wechat applet is converted to / 1000 seconds. After six hours and one day, this Friday option calculates the time
Calculation of fishing net road density
Re regular expression
MySQL_01_简单数据检索
随机推荐
2022制冷与空调设备运行操作判断题及答案
Solving the problem of displaying too many unique values in ArcGIS partition statistics failed
2022 judgment questions and answers for operation of refrigeration and air conditioning equipment
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!!!)
MySQL 中的字符串函数
Summary of common server error codes
Go语言JSON包使用
Docker 安装 Redis
C#的随机数生成
C1小笔记【任务训练篇二】
Go的Gin框架学习
ROS package NMEA_ navsat_ Driver reads GPS and Beidou Positioning Information Notes
[UDS unified diagnostic service] IV. typical diagnostic service (4) - online programming function unit (0x34-0x38)
列表的使用-增删改查
Implementation of k8s redis one master multi slave dynamic capacity expansion
20222 return to the workplace
Secure credit
Summary of floating point double precision, single precision and half precision knowledge
Visualization of residential house prices
Auto. JS custom dialog box