Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ahkimkoo opened this issue Oct 31, 2024 · 1 comment
Open

Comments

@ahkimkoo
Copy link

ahkimkoo commented Oct 31, 2024

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
Copy link
Owner

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants