Coder Social home page Coder Social logo

Comments (3)

wanghe-fit2cloud avatar wanghe-fit2cloud commented on June 7, 2024

1Panel 在线安装脚本会检测服务器是否已安装 docker,如果是已安装则会跳过安装 docker 这一步,并且不会对已安装 docker 做任何修改,参考代码

你目前可以执行 journalctl -u docker.service -exf 命令来分析具体问题。

from 1panel.

HKMV avatar HKMV commented on June 7, 2024

1Panel 在线安装脚本会检测服务器是否已安装 docker,如果是已安装则会跳过安装 docker 这一步,并且不会对已安装 docker 做任何修改,参考代码

你目前可以执行 journalctl -u docker.service -exf 命令来分析具体问题。

但是确实是在安装1panel后无法启动的,会不会是1panel使用或者修改的东西和最新版docker有冲突呢?
详细错误信息为:

12月 29 22:42:32 centos8.5 systemd[1]: docker.service: Service RestartSec=2s expired, scheduling restart.
12月 29 22:42:32 centos8.5 systemd[1]: docker.service: Scheduled restart job, restart counter is at 3.
-- Subject: Automatic restarting of a unit has been scheduled
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- Automatic restarting of the unit docker.service has been scheduled, as the result for
-- the configured Restart= setting for the unit.
12月 29 22:42:32 centos8.5 systemd[1]: Stopped Docker Application Container Engine.
-- Subject: docker.service 单元已结束停止操作
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- docker.service 单元已结束停止操作。
12月 29 22:42:32 centos8.5 systemd[1]: docker.service: Start request repeated too quickly.
12月 29 22:42:32 centos8.5 systemd[1]: docker.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- The unit docker.service has entered the 'failed' state with result 'exit-code'.
12月 29 22:42:32 centos8.5 systemd[1]: Failed to start Docker Application Container Engine.
-- Subject: docker.service 单元已失败
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- docker.service 单元已失败。
--
-- 结果为“failed”。

from 1panel.

HKMV avatar HKMV commented on June 7, 2024

抱歉是我自己的原因,前段时间调整了docker的daemon.json文件当时没注意格式,导致的docker无法启动.

from 1panel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.