How to see root password in a container

Im running a mapr installation and it requires to fill up a certain table wherein it needs the root account and password.

How to see root password of a container?

It depends on which image you are using. You can frequently set it in config files using the Dockerfile etc.