trueai-org / midjourney-proxy

A public welfare project offering a free drawing API that proxies Midjourney's Discord channel, supporting one-click face swapping for images and videos.
https://ai.trueai.org
GNU General Public License v3.0
377 stars 52 forks source link

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

Open ahkimkoo opened 1 week ago

ahkimkoo commented 1 week 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 1 week ago

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

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