当前位置:网站首页>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://blog.csdn.net/weixin_39643007/article/details/111590402
边栏推荐
- Random number generation of C #
- Listen for click events other than an element
- 2022 Jiangxi energy storage technology exhibition, China Battery exhibition, power battery exhibition and fuel cell Exhibition
- JS forms the items with the same name in the array object into the same array according to the name
- JS high frequency interview questions
- 油猴网站地址
- 2022 Shanghai safety officer C certificate operation certificate examination question bank and simulation examination
- C byte array (byte []) and string are converted to each other
- cv_ Solution of mismatch between bridge and opencv
- This point in JS
猜你喜欢
Theory and practice of laser slam in dark blue College - Chapter 2 (odometer calibration)
On the problem of V-IF display and hiding
On the method of outputting the complete name of typeID from GCC
.105Location
Operation of 2022 mobile crane driver national question bank simulation examination platform
Implementation of k8s redis one master multi slave dynamic capacity expansion
Laser slam theory and practice of dark blue College Chapter 3 laser radar distortion removal exercise
Gaode map search, drag and drop query address
C1小笔记【任务训练篇二】
Classification of cifar100 data set based on convolutional neural network
随机推荐
Amount input box, used for recharge and withdrawal
Submit local warehouse and synchronize code cloud warehouse
C language implements memcpy, memset, strcpy, strncpy, StrCmp, strncmp and strlen
Oil monkey website address
The ultimate experience, the audio and video technology behind the tiktok
cv_ Solution of mismatch between bridge and opencv
2022年广东省安全员A证第三批(主要负责人)特种作业证考试题库及在线模拟考试
Operators in C language
undefined reference to `Nabo::NearestNeighbourSearch
Examination question bank and online simulation examination of the third batch (main person in charge) of special operation certificate of safety officer a certificate in Guangdong Province in 2022
Utilisation de la liste - Ajouter, supprimer et modifier la requête
journal
xlsxwriter. exceptions. Filecreateerror: [errno 13] permission denied
2022江西光伏展,中國分布式光伏展會,南昌太陽能利用展
Re regular expression
Chrome浏览器的跨域设置----包含新老版本两种设置
Secure credit
Visualization of residential house prices
.104History
ArcGIS license error -15 solution