docker run -d -p {{PORT}}:{{PORT}} --name {{CONTAINER_NAME}} redis
- PORT: Port on which redis will be running/accessed
- CONTAINER_NAME: Name to assign to the container
docker run -d -p 6379:6379 --name redis redis
docker run -d -p {{PORT}}:{{PORT}} --name {{CONTAINER_NAME}} redis
docker run -d -p 6379:6379 --name redis redis