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

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

최신 다운로드
더>
웹 효과
웹사이트 소스 코드
웹사이트 자료
프론트엔드 템플릿
회사 소개 부인 성명 Sitemap
PHP 중국어 웹사이트:공공복지 온라인 PHP 교육,PHP 학습자의 빠른 성장을 도와주세요!