docker build过程安装mysql, 到mysql密码设置部分卡死了,为何会这样?怎么办?
淡淡烟草味
淡淡烟草味 2017-04-25 09:02:58
0
1
1470

Unpacking libklibc (2.0.4-8ubuntu1.16.04.2) ...
Selecting previously unselected package klibc-utils.
Preparing to unpack .../klibc-utils_2.0.4-8ubuntu1.16.04.2_amd64.deb ...
Adding 'persion of /usr/share/initramfs-tools/hooks/klibc to /usr/share/initramfs-tools/hooks/klibc^i-t by klibc-utils'
Unpacking klibc-utils (2.0.4-8ubuntu1.16.04.2) ...

While not mandatory, it is highly recommended that you set a password for the
MySQL administrative "root" user.

If this field is left blank, the password will not be changed.

New password for the MySQL "root" user: root

然后就卡死了,很久:(
Ctrl+C 所有下载和镜像都报废的样子,累...

淡淡烟草味
淡淡烟草味

全部回复(1)
滿天的星座

docker run --name mysql -e MYSQL_ROOT_PASSWORD=密码 -d mysql

热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板