评论列表
hamster 2016-07-13 22:24:48
使用命令:sudo passwd root 即可更改root密码
王春生 2016-04-21 20:17:14
你好,我安装软件时需要sudo权限,密码貌似是随机生成的。请问怎么处理
孙飞虎 2016-07-06 13:52:22
貌似直接是root帐号,不需要sudo
真机演示 2019-01-04 14:31:19
现在新的image不用加-y参数
┌┤UMRer – ~/learn/Docker (master)
└┤ docker run learn/tutorial apt-get install ping
Reading package lists...
Building dependency tree...
The following NEW packages will be installed:
iputils-ping
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 56.1 kB of archives.
After this operation, 143 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ precise/main iputils-ping amd64 3:20101006-1ubuntu1 [56.1 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 56.1 kB in 1s (40.0 kB/s)
Selecting previously unselected package iputils-ping.
(Reading database ... 7545 files and directories currently installed.)
Unpacking iputils-ping (from .../iputils-ping_3%3a20101006-1ubuntu1_amd64.deb) ...
Setting up iputils-ping (3:20101006-1ubuntu1) ...
2/2
发表评论
玖 加 伍 =
评论通过审核后显示。