收起左侧

Docker255错误

2
回复
100
查看
[ 复制链接 ]

2

主题

3

回帖

0

牛值

江湖小虾

2025-12-10 22:26:34 显示全部楼层 阅读模式

s

【Bug 反馈】系统重启后 Docker 自建容器全部出现 Exit 255,无法正常启动

【Bug 反馈】系统重启后 Docker 自建容器全部出现 Exit 255,无法正常启动

一、设备信息

  • 设备环境:物理机
  • 系统版本:fnOS 1.1.4
  • 网络环境:局域网 / 公网 / 反代 / 域名访问 / P2P
  • 浏览器版本:Microsoft Edge 143.0.3650.75 (64 位)

二、问题现象

系统每次重启后,所有 非飞牛商店安装、由 docker-compose 创建的容器均无法正常启动,容器状态统一显示为:

Exited (255)

而飞牛应用商店安装的容器能正常运行,仅自建容器受影响。

进入出问题容器的日志可看到如下重复输出:

/docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
/docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
/docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf
10-listen-on-ipv6-by-default.sh: info: /etc/nginx/conf.d/default.conf differs from the packaged version
/docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh
/docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
/docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
/docker-entrypoint.sh: Configuration complete; ready for start up

日志会不断重复 entrypoint 初始化流程,但容器始终无法进入主进程,最终以 255 的状态码退出。

该问题 系统重启必定复现,手动重新启动容器解决。

三、出现频率

  • 每次系统重启必定出现

四、联系方式

为便于后续沟通与问题处理,联系方式如下:

  • 手机号:18043145492

如需进一步确认环境或收集补充信息,可随时联系我。

五、配置文件

networks:
  nezha-net:
    driver: bridge

services:
  nezha-dashboard:
    image: ghcr.io/nezhahq/nezha:v1.12.0
    container_name: nezha-dashboard
    restart: unless-stopped
    volumes:
      - ./data:/dashboard/data
    environment:
      - TZ=Asia/Shanghai
    networks:
      - nezha-net
    expose:
      - "8008"

  nginx-proxy:
    image: nginx:alpine
    container_name: nezha-nginx
    restart: unless-stopped
    volumes:
      - ./nginx.conf:/etc/nginx/conf.d/default.conf
      - ./nginx-logs:/var/log/nginx
    ports:
      - "5501:80"
    networks:
      - nezha-net
    environment:
      - TZ=Asia/Shanghai

请快速解决,这个问题从我使用飞牛就一直存在,非常影响使用体验,我非常需要系统的稳定性。

收藏
送赞
分享

169

主题

1万

回帖

0

牛值

管理员

fnOS1.0上线纪念勋章

已收到反馈 我转给负责的同事看看
明白,请尽快处理哦。有点影响体验  详情 回复
5 天前

2

主题

3

回帖

0

牛值

江湖小虾

5 天前 楼主 显示全部楼层
飞牛技术同学 发表于 2025-12-16 11:26
已收到反馈 我转给负责的同事看看

明白,请尽快处理哦。有点影响体验
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则