【发布时间】:2016-11-16 07:25:25
【问题描述】:
我有下一个 dockerfile:
FROM ubuntu:16.04
RUN apt-get update && apt-get upgrade -y && apt-get install -y apache2 mysql-server mysql-client
之后,Docker build 询问我 root 的密码:
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:
我输入了密码,但是,它只是停留在那个状态。
我可以这样安装mysql吗?我不想自动安装它
【问题讨论】:
标签: mysql docker dockerfile