I use it
docker pull centos
Download the image and use
A user was added
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.