Dockerfile build 执行命令apt-get install mysql-server的时候,弹出输入root密码之后,输入秘密,回车,没反应啊!这怎么回事?
Dockfile:
FROM ubuntu:latest
RUN apt-get -qq update
RUN apt-get install -qqy nginx mysql-server php-mcrypt
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
mysql是不可以直接这么安装的。
应该参照下面mysql官方镜像的做法:
有人知道吗?遇到过吗?