Q:

How to reset couchbase docker container password

I have installed 3 couchbase nodes of docker containers.  After a couple of weeks when i tried to log in i could not remember my admin password.  After a research i can not find a way to reset password.  I am a newcomer to docker world so maybe i missed something.  There is a source below but i believe that does not compromise my problem.  How can i reset admin password ? 
source

A:

The only way to reset your admin password that I'm aware of is to use couchbase-cli's reset-admin-password option, which must be run locally. 
Since you are in docker, one option would be to execute bash inside of Docker, and run couchbase-cli there.  For instance:
docker exec -it db /bin/bash

At that point, you should have a bash prompt, and you can run couchbase-cli there.