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:
- In the case that Linux can be connected to the extranet, docker pull redis pulls the redis image
- Then follow the steps below to
enter the redis container and run redis-cli
docker exec -it redis container name/bin/bash