abiosoft / abiosoft/colima

ArchError: Could not find 'cpu MHz' in /proc/cpuinfo

オープン
#762 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Go
スター
30.8k
フォーク
613
PR マージ指標
30日以内にマージされた PR はありません

説明

### Description

I'm trying to run a (relatively complex) docker image that somehow uses information from `/proc/cpuinfo`.

The command that produces the error is `/usr/bin/blender --version`.

```
docker context use colima
docker run --rm --platform linux/amd64 ghcr.io/inti-cmnb/kicad7_auto_full:latest /usr/bin/blender --version
```

Produces

```
ArchError: Could not find 'cpu MHz' in /proc/cpuinfo
Function: Arch_ComputeNanosecondsPerTick
File: /home/sybren/buildbot-builder/linux_glibc217_x86_64_cmake/build_deps/deps/build/usd/src/external_usd/pxr/base/arch/timing.cpp
Line: 149
```

If I run the same using OrbStack everything works

```
docker context use orbstack
docker run --rm --platform linux/amd64 ghcr.io/inti-cmnb/kicad7_auto_full:latest /usr/bin/blender --version
```

produces

```
Blender 3.4.1
build date: 2022-12-20
build time: 00:46:45
build commit date: 2022-12-19
build commit time: 17:00
build hash: 55485cb379f7
build platform: Linux
build type: release
```

### Version

Colima Version:
```
colima version 0.5.5
git commit: 6251dc2c2c5d8197c356f0e402ad028945f0e830

runtime: docker
arch: aarch64
client: v24.0.4
server: v20.10.20
```

Lima Version:
```
limactl version 0.16.0
```

Qemu Version:
```
qemu-img version 8.0.3
Copyright (c) 2003-2022 Fabrice Bellard and the QEMU Project developers
```

### Operating System

- [ ] macOS Intel <= 12 (Monterrey)
- [ ] macOS Intel >= 13 (Ventura)
- [ ] macOS M1 <= 12 (Monterrey)
- [X] macOS M1 >= 13 (Ventura)
- [ ] Linux

### Output of `colima status`

```
INFO[0000] colima is running using macOS Virtualization.Framework
INFO[0000] arch: aarch64
INFO[0000] runtime: docker
INFO[0000] mountType: virtiofs
INFO[0000] socket: unix:///Users/d.mohns/.colima/default/docker.sock
```

### Reproduction Steps

1. Run `docker run --rm --platform linux/amd64 ghcr.io/inti-cmnb/kicad7_auto_full:latest /usr/bin/blender --version`

### Expected behaviour

Command should work and output information about Blender.

### Additional context

_No response_

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。