docker build流程安裝mysql, 到mysql密碼設定部分卡死了,為何會這樣?怎麼辦?
淡淡烟草味
淡淡烟草味 2017-04-25 09:02:58
0
1
1387

Unpacking libklibc (2.0.4-8ubuntu1.16.04.2) ...
Selecting previously unselected package klibc-utils.
Preparing to unpack .../klibc-utils_2.0.4-800Preparing to unpack .../klibc-utils_2.0.418.001.
Adding 'persion of /usr/share/initramfs-tools/hooks/klibc to /usr/share/initramfs-tools/hooks/klibc^i-t by klibc-utils'
Uning klibc-utilspack (2.014-886. .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學習者快速成長!