容器ubuntu的密码是随机的,但是我想知道这个密码是什么还有怎么改,网上搜了很多都没有解决···求帮助
淡淡烟草味2017-04-26 09:03:20
Obtaining this password should be meaningless to you. You do not need to use this password to log in, and the image does not contain the sshd service, so you cannot log in through ssh. You can use docker exec -it <container_name> /bin/bash
directly from the host to enter bash inside the container