What is the root password for the mirror image of centos of dockerpull?

  docker, question

I use it

docker pull centos

Download the image and use

useradd www

A user was added

su www

Then think of root, don’t know the password. . . How should everyone know the password? . . .

Sudpasswdroot # adds a password to root.
 Sudo su # The password here is your ubuntu password if you are ubuntu.