Azure cosmos db 模拟器 macOS - Win32Exception/CoreCLR

问题描述 投票:0回答:1

我已经在 macOS(BigSur)上下载了 docker 镜像

azure-cosmos-emulator:latest
。它启动正常,但是当我尝试将其加载到浏览器中时(
https://localhost:8081/_explorer/index.html
),我在日志中收到 2 个错误。

% docker run -p 8081:8081 -p 10250-10255:10250-10255 -e AZURE_COSMOS_EMULATOR_PARTITION_COUNT=3 -e AZURE_COSMOS_EMULATOR_ENABLE_DATA_PERSISTENCE=TRUE -e AZURE_COSMOS_EMULATOR_IP_ADDRESS_OVERRIDE=$ipaddr -it mcr.microsoft.com/cosmosdb/linux/azure-cosmos-emulator:latest
This is an evaluation version.  There are [90] days left in the evaluation period.
    Starting
    Failed to create CoreCLR, HRESULT: 0x8007000E
    Started 1/4 partitions
    Started 2/4 partitions
    Started 3/4 partitions
    Started 4/4 partitions
    Started
    
    Unhandled Exception: System.AggregateException: One or more errors occurred. ---> System.ComponentModel.Win32Exception: The system cannot find the file specified
       at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
       at Microsoft.Azure.Documents.Common.ProcessUtil.Run(String fileName, String args)
  1. 创建 CoreCLR 失败,HRESULT:0x8007000E
  2. Win32异常

有人可以帮忙吗?

macos azure-cosmosdb
1个回答
0
投票

我也有同样的问题。增加内存泊坞窗可以为我解决这个问题。 (Docker 桌面->设置->Windows 资源)

© www.soinside.com 2019 - 2024. All rights reserved.