Wednesday, February 16, 2022

Deploy Redis Server Using Docker Container On Rocky Linux 8

 in This Tutorial you will Learn " How To Install Redis Server Using Docker Container On Rocky Linux 8"
Redis is an open source key-value store that functions as a data structure server.
Docker is a software platform that allows you to build, test, and deploy applications quickly.
_________________________________________________________________________________________
Server - Os:  Rocky Linux 8.5  64Bit      | IP -192.168.1.60        |Hostname - server.yourdomain.com
_________________________________________________________________________________________
cat /etc/system-release ; hostname ; hostname -I ; dnf groupinstall "Development Tools" -y
systemctl status docker ; docker -v
docker run --name my-redis -p 6379:6379 -d redis
docker ps
docker exec -it my-redis sh
redis-cli
ping
set name Anand
get name

docker stop my-redis
docker start my-redis
redis-cli
_________________________________________________________________________________________


No comments:

Post a Comment