docker redis cmd code example
Example 1: docker redis
$ docker run --name some-redis -d redis
Example 2: docker redis
$ docker run -it --network some-network --rm redis redis-cli -h some-redis
$ docker run --name some-redis -d redis
$ docker run -it --network some-network --rm redis redis-cli -h some-redis