Ubuntu 24.04.1 LTSDocker 24.0.7$ sudo docker pull redis먼저 위 명령어로 도커 이미지를 다운받습니다. 설치가 완료되면 다음 명령어로 확인할 수 있습니다.$ sudo docker images이미지를 다운받았으니 컨테이너를 생성
$ set key valueex - set ddori:name yangddori$ get keyex - get ddori:name$ keys \*$ del key$ set key value ex 10$ ttl key만료시간 설정한 키의 경우 만료되면 -2를 반환 ( 키