docker 不能正常啟動
docker 不能正常啟動
[root@ecs-rac1 ~]# systemctl start docker Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details. [root@ecs-rac1 ~]# systemctl status docker.service ● docker.service - Docker Application Container Engine Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled; vendor preset: disabled) Active: failed (Result: start-limit) since Tue 2020-03-24 11:09:46 CST; 3s ago Docs: Process: 2179 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE) Main PID: 2179 (code=exited, status=1/FAILURE) Mar 24 11:09:44 ecs-rac1 systemd[1]: Failed to start Docker Application Container Engine. Mar 24 11:09:44 ecs-rac1 systemd[1]: Unit docker.service entered failed state. Mar 24 11:09:44 ecs-rac1 systemd[1]: docker.service failed. Mar 24 11:09:46 ecs-rac1 systemd[1]: docker.service holdoff time over, scheduling restart. Mar 24 11:09:46 ecs-rac1 systemd[1]: Stopped Docker Application Container Engine. Mar 24 11:09:46 ecs-rac1 systemd[1]: start request repeated too quickly for docker.service Mar 24 11:09:46 ecs-rac1 systemd[1]: Failed to start Docker Application Container Engine. Mar 24 11:09:46 ecs-rac1 systemd[1]: Unit docker.service entered failed state. Mar 24 11:09:46 ecs-rac1 systemd[1]: docker.service failed. [root@ecs-rac1 ~]# docker ps -a Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? [root@ecs-rac1 ~]# systemctl restart docker Job for docker.service failed because start of the service was attempted too often. See "systemctl status docker.service" and "journalctl -xe" for details. To force a start use "systemctl reset-failed docker.service" followed by "systemctl start docker.service" again. [root@ecs-rac1 ~]# more /etc/docker/daemon.json { "registry-mirrors": [ " " " " " " ] } [root@ecs-rac1 ~]# mv /etc/docker/daemon.json /etc/docker/daemon.conf [root@ecs-rac1 ~]# [root@ecs-rac1 ~]# systemctl restart docker [root@ecs-rac1 ~]# docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 85c5b074f0af mysql:5.7.29 "docker-entrypoint.s…" 7 days ago Exited (255) 8 seconds ago 33060/tcp, 0.0.0.0:33064->3306/tcp mysql572933064 937cb1c90ad9 mysql:5.7.29 "docker-entrypoint.s…" 7 days ago Exited (255) 8 seconds ago 33060/tcp, 0.0.0.0:33062->3306/tcp mysql572933062 81b7eb1deb22 mysql:5.7.29 "docker-entrypoint.s…" 7 days ago Exited (255) 8 seconds ago 33060/tcp, 0.0.0.0:33061->3306/tcp mysql572933061 05f486043eb2 mysql:5.7.29 "docker-entrypoint.s…" 7 days ago Exited (255) 8 seconds ago 33060/tcp, 0.0.0.0:33060->3306/tcp mysql572933060 cfba6665cb5d nginx:latest "nginx -g 'daemon of…" 7 days ago Exited (255) 8 seconds ago 0.0.0.0:80->80/tcp quirky_kare f2597320a25a mysql:5.7.29 "docker-entrypoint.s…" 7 days ago Exited (255) 8 seconds ago 3306/tcp, 33060/tcp, 0.0.0.0:3309->3309/tcp mysql57293309 f115619bf722 hello-world "--registry-mirror=h…" 7 days ago Created frosty_stonebraker 5f81e444f331 daocloud.io/ihypo/oracle-xe-11g "/bin/sh -c '/usr/sb…" 7 days ago Exited (255) 8 seconds ago 8080/tcp, 0.0.0.0:49160->22/tcp, 0.0.0.0:49161->1521/tcp relaxed_mayer 5eb0e81b9cc3 sath89/oracle-12c "/entrypoint.sh " 8 days ago Exited (255) 8 seconds ago 0.0.0.0:1521->1521/tcp, 0.0.0.0:8080->8080/tcp oracle12c 99a9528bbeeb centos "/bin/bash" 8 days ago Exited (0) 8 days ago centos aa4d03c08ddc mysql:5.7.29 "docker-entrypoint.s…" 8 days ago Exited (0) 8 days ago mysql57293308 fde615090ce5 mysql:8.0.19 "docker-entrypoint.s…" 10 days ago Exited (0) 8 days ago mysql8019 c87f8b6ebc45 mysql:5.7.29 "docker-entrypoint.s…" 10 days ago Exited (0) 8 days ago mysql5729 [root@ecs-rac1 ~]#
總結:
如果是配置了國內映象,並且映象檔案為/etc/docker/daemon.json,則修改檔案字尾為.conf即可正常啟動docker服務
/etc/docker/daemon.conf
{
"registry-mirrors": [
"
"
"
"
"
"
"
"
]
}
About Me
........................................................................................................................ ● 本文作者:小麥苗,部分內容整理自網路,若有侵權請聯絡小麥苗刪除 ● 本文在itpub、部落格園、CSDN和個人微 信公眾號( xiaomaimiaolhr)上有同步更新 ● 本文itpub地址: http://blog.itpub.net/26736162 ● 本文部落格園地址: http://www.cnblogs.com/lhrbest ● 本文CSDN地址: https://blog.csdn.net/lihuarongaini ● 本文pdf版、個人簡介及小麥苗雲盤地址: http://blog.itpub.net/26736162/viewspace-1624453/ ● 資料庫筆試面試題庫及解答: http://blog.itpub.net/26736162/viewspace-2134706/ ● DBA寶典今日頭條號地址: ........................................................................................................................ ● QQ群號: 230161599 、618766405 ● 微 信群:可加我微 信,我拉大家進群,非誠勿擾 ● 聯絡我請加QQ好友 ( 646634621 ),註明新增緣由 ● 於 2020-03-01 06:00 ~ 2020-03-31 24:00 在西安完成 ● 最新修改時間:2020-03-01 06:00 ~ 2020-03-31 24:00 ● 文章內容來源於小麥苗的學習筆記,部分整理自網路,若有侵權或不當之處還請諒解 ● 版權所有,歡迎分享本文,轉載請保留出處 ........................................................................................................................ ● 小麥苗的微店: ● 小麥苗出版的資料庫類叢書: http://blog.itpub.net/26736162/viewspace-2142121/ ● 小麥苗OCP、OCM、高可用網路班: http://blog.itpub.net/26736162/viewspace-2148098/ ● 小麥苗騰訊課堂主頁: https://lhr.ke.qq.com/ ........................................................................................................................ 使用 微 信客戶端掃描下面的二維碼來關注小麥苗的微 信公眾號( xiaomaimiaolhr)及QQ群(DBA寶典)、新增小麥苗微 信, 學習最實用的資料庫技術。
........................................................................................................................ |
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26736162/viewspace-2682208/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 多路徑配置問題和ACFS啟用原因導致rac二節點不能正常啟動
- win10快速啟動怎麼改正常啟動_win10快速啟動設定為正常啟動如何操作Win10
- 解決關於IIS gzip不能正常啟用的問題
- STM32L031 使用外部時鐘卡死的問題,不能正常啟動的原因
- 子元素浮動不能正常顯示的解決辦法
- 有的服務不能在nvidia-docker中正常呼叫顯示卡問題排查Docker
- Webphser Applcation Server Dmgr無法正常啟動WebAPPServer
- Docker重啟保持容器自動啟動Docker
- mysql不能啟動如何解決MySql
- docker啟動失敗Docker
- win10 ituns無法正常啟動怎麼辦_win10 ituns無法正常啟動解決方法Win10
- laravel 500頁面不能正常訪問Laravel
- mysql提示啟動成功,但statu是isstopped,重啟後正常MySql
- Springboot整合Swagger2無法正常啟動Spring BootSwagger
- 在Linux系統下啟動eclipse時遇到Eclipse 無法正常啟動LinuxEclipse
- 在 Docker 中啟動 JupyterDocker
- Go控制Docker啟動MongoDBDockerMongoDB
- Docker容器的自啟動Docker
- qt6 QtOpcUa無法正常啟動問題QT
- MacOS Monterey 12.0.1 下無法正常啟動 vagrant upMac
- 香港雲伺服器不能正常關機/重啟,恆訊科技分享6點原因伺服器
- win10不能拖動開啟怎麼辦 win10不能拖動開啟解決方法Win10
- Docker(十七)-修改Docker容器啟動配置引數Docker
- win10安裝程式無法正常啟動怎麼辦_win10安裝程式無法正常啟動如何解決Win10
- IDEA 不能正常工作的嘗試解決方向Idea
- 帝國CMS安裝介面不能正常顯示
- 正常啟動Win10 Technical Preview系統的方法Win10View
- eclipse能正常啟動tomcat,但是網頁訪問不了EclipseTomcat網頁
- 四、Docker的啟動與停止Docker
- docker中怎麼啟動容器Docker
- docker啟動hub和Chrome nodeDockerChrome
- 安裝win10系統後重啟不能正常進入系統如何解決Win10
- win10系統無法正常啟動如何進入安全模式_win10無法正常啟動進入安全模式的步驟Win10模式
- 達夢資料庫dmap服務無法正常啟動資料庫
- 程式無法正常啟動0xc0000142解決方法
- 修復swagger不能正常載入介面的問題Swagger
- 筆記docker的基本啟動映象筆記Docker
- 叢集安裝完成後,GCluster 服務不能啟動GC