首页 > 编程知识 正文

docker镜像推荐,docker镜像启动不了

时间:2023-05-06 01:31:22 阅读:130716 作者:953

第一次拉动镜像并启动后,重新启动系统时,可以看到镜像没有启动。 解决方法是按如下方式设置自动启动

1 .注意到没有启动

[ root @ localhost~] # dockerpscontaineridimagecommandcreatedstatusports2.显示所有安装的镜像

[ root @ localhost~] # docker PS-acontaineridimagecommandcreatedstatusportscef8c 24 d 12 felogstash 33605.6.15 '/docker-entry point. 16 hoursagoexited (255 ) 13 minutes ago0.0. 033604560-4560/tcpe 1154 d 32 d 32 F5 kiba na 33605.6 docker-entry point .…16 hoursagoexited (255 ) 13 minutesagoe 886 a 3267652 elastic search :5.6 docker-entry point 13 minutesagoee 113699 fb16 zookeeper '/docker-entry point .…' 46 hoursagoexited (255 ) 13 minutes ago 2888 /

[根@ localhost~] # dockerupdatecef8c 24 d 12 Fe-- restart=always ce F8 c 24 d 12 Fe [ root @ localhost~dockerupdatee 1154 d 32 d 3f5--restart=alwayse 115 dockerupdatee 886 a 3267652-- restart=al wart dockerupdateee 113699 FB 16---restart=alwaysee 113699 FB 164 .每个重新启动设置都不生效知道启动了

[ root @ localhost~] # dockerpscontaineridimagecommandcreatedstatusportsnamescef8c 24 d 12 felogstash 33605.6.15 '/docker-entry point .…16 hoursagoup2minutes0.0.0. 0:4560-4560/tcplogstashe 1154 d 32 d 32 F5 kiba na 33605.6 '/11 ' docker-entry point .…' 16 hoursagoup2minuteskibanae 886 a 3267652 elastic search :5.6.11 '/docker-entry point .…16 hoursagoup2minuteselasticsearchee 113699 fb16 zookeeper '/docker-entry point .…46 hoursagoup2minimimion

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。