docker redis server code example
Example 1: run docker redis localhost
docker run --name my-redis -p 6379:6379 -d redis:alpine
Example 2: docker redis
$ docker run --name some-redis -d redis
Example 3: docker redis
$ docker run -it --network some-network --rm redis redis-cli -h some-redis