Quick Installation redis at lower Centos7 use docker

Quick Installation redis at lower Centos7 use docker

Take the latest version of Redis mirror

docker pull redis:latest

Check local mirror

docker images

Run container

docker run -itd --name redis-service -p 6379:6379 redis
  • 6379 -p: 6379 : 6379 port to host the 6379 container port mapping service. External ip directly by the host: 6379 Redis access to services.

Successful installation (see the vessel running information)

docker ps 
Published 39 original articles · won praise 13 · views 2306

Guess you like

Origin blog.csdn.net/weixin_45612794/article/details/103652944