Steps to install redis using docker and set password (under Linux system)

The premise is that docker has been installed in the Linux system. If it is not installed, please refer to the following website:
https://blog.csdn.net/qq_2662385590/article/details/105665053?utm_source=app, and then perform the following steps:

  1. In the case that Linux can be connected to the extranet, docker pull redis pulls the redis image
  2. Then follow the steps below to
    Insert picture description here
    enter the redis container and run redis-cli

docker exec -it redis container name/bin/bash

Guess you like

Origin blog.csdn.net/qq_2662385590/article/details/105784432
Recommended