docker pull redis:alpine
docker network create redis-net
docker network ls
docker run --privileged --name my-redis -p 0000:0000 --network redis-net -v /redis:/data -d redis:alpine redis-server --appendonly yes
생성중 권한 에러가 발생하여 --privileged를 넣음
docker run --privileged -it --network redis-net --rm redis:alpine redis-cli -h my-redis -p 0000
my-redis:6379> set hi 123
OK
my-redis:6379> get hi
"123"