trueai-org / midjourney-proxy

The most powerful, complete, full-featured, completely free and open source Midjourney API project on the market.
https://ai.trueai.org
GNU General Public License v3.0
403 stars 56 forks source link

docker运行报错:Failed to create CoreCLR, HRESULT: 0x8007000 #58

Open ahkimkoo opened 3 weeks ago

ahkimkoo commented 3 weeks ago

docker-compose.yml

version: '3'
services:
  mjopen:
    image: registry.cn-guangzhou.aliyuncs.com/trueai-org/midjourney-proxy
    container_name: mjopen
    restart: always
    environment:
      - DEMO=true
      - TZ=Asia/Shanghai
    ports:
      - "8086:8080"
    volumes:
      - /root/app/midjourney-proxy/logs:/app/logs:rw
      - /root/app/midjourney-proxy/data:/app/data:rw
      - /root/app/midjourney-proxy/attachments:/app/wwwroot/attachments:rw
      - /root/app/midjourney-proxy/ephemeral-attachments:/app/wwwroot/ephemeral-attachments:rw
      - /root/app/midjourney-proxy/appsettings.json:/app/appsettings.Production.json:ro

appsettings.json是默认的。

docker-compose up -d 就一直重启容器报错:

Failed to create CoreCLR, HRESULT: 0x80070008
Failed to create CoreCLR, HRESULT: 0x80070008
Failed to create CoreCLR, HRESULT: 0x80070008
Failed to create CoreCLR, HRESULT: 0x80070008
Failed to create CoreCLR, HRESULT: 0x80070008
Failed to create CoreCLR, HRESULT: 0x80070008
Failed to create CoreCLR, HRESULT: 0x80070008
Failed to create CoreCLR, HRESULT: 0x80070008
Failed to create CoreCLR, HRESULT: 0x80070008
Failed to create CoreCLR, HRESULT: 0x80070008
Failed to create CoreCLR, HRESULT: 0x80070008

操作系统:Ubuntu 20.04.2 LTS docker版本: 19.03.8

trueai-org commented 3 weeks ago

使用 docker run 删除额外的配置试下,如果不可以就重启下服务器。

docker run --name mjopen -d --restart=always \
 -p 8086:8080 --user root \
 registry.cn-guangzhou.aliyuncs.com/trueai-org/midjourney-proxy