So you got Redis running in its own container, what you do is…the container will still have /bin/sh available to you, so just run this:

docker exec image_name -ti /bin/sh

and then:

config set requirepass p@ss$12E45