본문 바로가기

Redis

Redis 도커

  • 도커 컨테이너 실행
    • docker run -it -d --rm -p 6379:6379 redis:6.2
  • redis-cli 접속
    • docker exec -it f2cf4dc4b189 redis-cli
  • redis-cli monitor 실행
    • docker exec -it f2cf4dc4b189 redis-cli monitor