使用docker安装的ubuntu 16.04镜像创建的容器,是不带service命令的,

service mysql start
等命令无法使用,解决方法:
执行apt-get install initscripts
,安装完成之后,

使用docker安装的ubuntu 16.04镜像创建的容器,是不带service命令的,
service mysql start
等命令无法使用,解决方法:
执行apt-get install initscripts
,安装完成之后,
本文标题:docker(大坑2):解决安装的ubuntu镜像无servic
本文链接:https://www.haomeiwen.com/subject/ikzibktx.html
网友评论