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
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
1 回答625 阅读✓ 已解决
1 回答576 阅读
2 回答357 阅读✓ 已解决
mysql是不可以直接这么安装的。
应该参照下面mysql官方镜像的做法: