abiosoft / abiosoft/colima

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

Đang mở
#762 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Go
Star
30.8k
Fork
613
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### 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_

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.