[email protected]">

当前位置:网站首页>Docker installation and deployment redis

Docker installation and deployment redis

2022-07-01 06:39:00 Going_ man

Docker Installation and deployment Redis

1、 Take the latest version Redis Mirror image

docker pull redis:latest

2、 View local image

[[email protected] redis]$ docker images
#==========================================================================================
REPOSITORY                     TAG                IMAGE ID       CREATED         SIZE
redis                          latest             a09124a3f90d   2 days ago      117MB
#==========================================================================================

3、 Run the container and set the password

#=================================== function redis Container and set the password =======================================
docker run -itd --name redis-exam -p 6379:6379 redis --requirepass "123456"
原网站

版权声明
本文为[Going_ man]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/182/202207010628242979.html