Closed
Description
ran v0.38.6 on Apple Silicon chip, observed error/warning : The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
container status Exited (255)
might need to use docker BuildX for multi platform
NOTE
built new image using Dockerfile with buildx --platform linux/arm64/v8 , container spun up successfully, but hitting UI 8080 showing following error:
failed to get container "/" with error: unable to find data in memory cache
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
vynu commentedon Dec 14, 2020
W1214 18:53:39.531179 1 nvidia.go:61] NVIDIA GPU metrics will not be available: no NVIDIA devices found W1214 18:53:39.537655 1 sysinfo.go:203] Nodes topology is not available, providing CPU topology E1214 18:53:39.538209 1 info.go:114] Failed to get system UUID: open /etc/machine-id: no such file or directory W1214 18:53:39.567902 1 container.go:545] Failed to update stats for container "/dhcpcd": open /sys/fs/cgroup/memory/dhcpcd/memory.numa_stat: no such file or directory, continuing to push stats W1214 18:53:39.571029 1 container.go:545] Failed to update stats for container "/": open /sys/fs/cgroup/memory/memory.numa_stat: no such file or directory, continuing to push stats W1214 18:53:39.579995 1 container.go:545] Failed to update stats for container "/binfmt": open /sys/fs/cgroup/memory/binfmt/memory.numa_stat: no such file or directory, continuing to push stats W1214 18:53:39.580167 1 container.go:545] Failed to update stats for container "/006-metadata": open /sys/fs/cgroup/memory/006-metadata/memory.numa_stat: no such file or directory, continuing to push stats W1214 18:53:39.580346 1 container.go:545] Failed to update stats for container "/systemreserved": open /sys/fs/cgroup/memory/systemreserved/memory.numa_stat: no such file or directory, continuing to push stats W1214 18:53:39.580683 1 container.go:545] Failed to update stats for container "/systemreserved/trim-after-delete": open /sys/fs/cgroup/memory/systemreserved/trim-after-delete/memory.numa_stat: no such file or directory, continuing to push stats W1214 18:53:39.581053 1 container.go:545] Failed to update stats for container "/005-dhcpcd": open /sys/fs/cgroup/memory/005-dhcpcd/memory.numa_stat: no such file or directory, continuing to push stats W1214 18:53:39.581531 1 container.go:545] Failed to update stats for container "/001-sysctl": open /sys/fs/cgroup/memory/001-sysctl/memory.numa_stat: no such file or directory, continuing to push stats W1214 18:53:39.581884 1 container.go:545] Failed to update stats for container "/008-mount-docker": open /sys/fs/cgroup/memory/008-mount-docker/memory.numa_stat: no such file or directory, continuing to push stats W1214 18:53:39.582320 1 container.go:545] Failed to update stats for container "/podruntime/docker": open /sys/fs/cgroup/memory/podruntime/docker/memory.numa_stat: no such file or directory, continuing to push stats W1214 18:53:39.572262 1 container.go:545] Failed to update stats for container "/docker/f088db6845f63205dba1ea7901173f6a5127c4e875333003d8b2e06622ea5dd3": open /sys/fs/cgroup/memory/docker/f088db6845f63205dba1ea7901173f6a5127c4e875333003d8b2e06622ea5dd3/memory.numa_stat: no such file or directory, continuing to push stats W1214 18:53:39.572704 1 container.go:545] Failed to update stats for container "/docker/buildkit": open /sys/fs/cgroup/memory/docker/buildkit/memory.numa_stat: no such file or directory, continuing to push stats W1214 18:53:39.573289 1 container.go:545] Failed to update stats for container "/002-format": open /sys/fs/cgroup/memory/002-format/memory.numa_stat: no such file or directory, continuing to push stats W1214 18:53:39.574034 1 container.go:545] Failed to update stats for container "/004-mount": open /sys/fs/cgroup/memory/004-mount/memory.numa_stat: no such file or directory, continuing to push stats W1214 18:53:39.574468 1 container.go:545] Failed to update stats for container "/000-sysfs": open /sys/fs/cgroup/memory/000-sysfs/memory.numa_stat: no such file or directory, continuing to push stats W1214 18:53:39.575158 1 container.go:545] Failed to update stats for container "/systemreserved/diagnose": open /sys/fs/cgroup/memory/systemreserved/diagnose/memory.numa_stat: no such file or directory, continuing to push stats W1214 18:53:39.575881 1 container.go:545] Failed to update stats for container "/systemreserved/socks": open /sys/fs/cgroup/memory/systemreserved/socks/memory.numa_stat: no such file or directory, continuing to push stats W1214 18:53:39.576419 1 container.go:545] Failed to update stats for container "/systemreserved/acpid": open /sys/fs/cgroup/memory/systemreserved/acpid/memory.numa_stat: no such file or directory, continuing to push stats W1214 18:53:39.577438 1 container.go:545] Failed to update stats for container "/systemreserved/ntpd": open /sys/fs/cgroup/memory/systemreserved/ntpd/memory.numa_stat: no such file or directory, continuing to push stats W1214 18:53:39.577578 1 container.go:545] Failed to update stats for container "/003-extend": open /sys/fs/cgroup/memory/003-extend/memory.numa_stat: no such file or directory, continuing to push stats W1214 18:53:39.578136 1 container.go:545] Failed to update stats for container "/systemreserved/vpnkit-forwarder": open /sys/fs/cgroup/memory/systemreserved/vpnkit-forwarder/memory.numa_stat: no such file or directory, continuing to push stats W1214 18:53:39.578787 1 container.go:545] Failed to update stats for container "/podruntime": open /sys/fs/cgroup/memory/podruntime/memory.numa_stat: no such file or directory, continuing to push stats W1214 18:53:39.578867 1 container.go:545] Failed to update stats for container "/docker": open /sys/fs/cgroup/memory/docker/memory.numa_stat: no such file or directory, continuing to push stats W1214 18:53:39.584113 1 container.go:545] Failed to update stats for container "/kubepods": open /sys/fs/cgroup/memory/kubepods/memory.numa_stat: no such file or directory, continuing to push stats W1214 18:53:39.584518 1 container.go:545] Failed to update stats for container "/007-swap": open /sys/fs/cgroup/memory/007-swap/memory.numa_stat: no such file or directory, continuing to push stats W1214 18:53:39.585550 1 container.go:545] Failed to update stats for container "/009-bridge": open /sys/fs/cgroup/memory/009-bridge/memory.numa_stat: no such file or directory, continuing to push stats W1214 18:53:39.585959 1 container.go:545] Failed to update stats for container "/kmsg": open /sys/fs/cgroup/memory/kmsg/memory.numa_stat: no such file or directory, continuing to push stats W1214 18:54:39.655839 1 container.go:545] Failed to update stats for container "/systemreserved/socks": open /sys/fs/cgroup/memory/systemreserved/socks/memory.numa_stat: no such file or directory, continuing to push stats W1214 18:54:39.677104 1 container.go:545] Failed to update stats for container "/binfmt": open /sys/fs/cgroup/memory/binfmt/memory.numa_stat: no such file or directory, continuing to push stats W1214 18:54:39.740769 1 container.go:545] Failed to update stats for container "/dhcpcd": open /sys/fs/cgroup/memory/dhcpcd/memory.numa_stat: no such file or directory, continuing to push stats W1214 18:54:39.741906 1 container.go:545] Failed to update stats for container "/docker": open /sys/fs/cgroup/memory/docker/memory.numa_stat: no such file or directory, continuing to push stats W1214 18:54:39.777069 1 container.go:545] Failed to update stats for container "/008-mount-docker": open /sys/fs/cgroup/memory/008-mount-docker/memory.numa_stat: no such file or directory, continuing to push stats W1214 18:54:39.778182 1 container.go:545] Failed to update stats for container "/systemreserved/trim-after-delete": open /sys/fs/cgroup/memory/systemreserved/trim-after-delete/memory.numa_stat: no such file or directory, continuing to push stats W1214 18:54:39.853075 1 container.go:545] Failed to update stats for container "/kmsg": open /sys/fs/cgroup/memory/kmsg/memory.numa_stat: no such file or directory, continuing to push stats W1214 18:54:39.902839 1 container.go:545] Failed to update stats for container "/003-extend": open /sys/fs/cgroup/memory/003-extend/memory.numa_stat: no such file or directory, continuing to push stats W1214 18:54:39.924457 1 container.go:545] Failed to update stats for container "/000-sysfs": open /sys/fs/cgroup/memory/000-sysfs/memory.numa_stat: no such file or directory, continuing to push stats W1214 18:54:39.972342 1 container.go:545] Failed to update stats for container "/001-sysctl": open /sys/fs/cgroup/memory/001-sysctl/memory.numa_stat: no such file or directory, continuing to push stats W1214 18:54:40.046739 1 container.go:545] Failed to update stats for container "/systemreserved/acpid": open /sys/fs/cgroup/memory/systemreserved/acpid/memory.numa_stat: no such file or directory, continuing to push stats W1214 18:54:40.078703 1 container.go:545] Failed to update stats for container "/podruntime/docker": open /sys/fs/cgroup/memory/podruntime/docker/memory.numa_stat: no such file or directory, continuing to push stats W1214 18:54:40.152564 1 container.go:545] Failed to update stats for container "/kubepods": open /sys/fs/cgroup/memory/kubepods/memory.numa_stat: no such file or directory, continuing to push stats W1214 18:54:40.244869 1 container.go:545] Failed to update stats for container "/systemreserved/vpnkit-forwarder": open /sys/fs/cgroup/memory/systemreserved/vpnkit-forwarder/memory.numa_stat: no such file or directory, continuing to push stats W1214 18:54:40.244869 1 container.go:545] Failed to update stats for container "/009-bridge": open /sys/fs/cgroup/memory/009-bridge/memory.numa_stat: no such file or directory, continuing to push stats W1214 18:54:40.289594 1 container.go:545] Failed to update stats for container "/systemreserved/diagnose": open /sys/fs/cgroup/memory/systemreserved/diagnose/memory.numa_stat: no such file or directory, continuing to push stats W1214 18:54:40.416221 1 container.go:545] Failed to update stats for container "/006-metadata": open /sys/fs/cgroup/memory/006-metadata/memory.numa_stat: no such file or directory, continuing to push stats W1214 18:54:40.436762 1 container.go:545] Failed to update stats for container "/007-swap": open /sys/fs/cgroup/memory/007-swap/memory.numa_stat: no such file or directory, continuing to push stats W1214 18:54:40.513122 1 container.go:545] Failed to update stats for container "/docker/f088db6845f63205dba1ea7901173f6a5127c4e875333003d8b2e06622ea5dd3": open /sys/fs/cgroup/memory/docker/f088db6845f63205dba1ea7901173f6a5127c4e875333003d8b2e06622ea5dd3/memory.numa_stat: no such file or directory, continuing to push stats W1214 18:54:40.579669 1 container.go:545] Failed to update stats for container "/systemreserved": open /sys/fs/cgroup/memory/systemreserved/memory.numa_stat: no such file or directory, continuing to push stats W1214 18:54:40.734436 1 container.go:545] Failed to update stats for container "/005-dhcpcd": open /sys/fs/cgroup/memory/005-dhcpcd/memory.numa_stat: no such file or directory, continuing to push stats W1214 18:54:40.776231 1 container.go:545] Failed to update stats for container "/": open /sys/fs/cgroup/memory/memory.numa_stat: no such file or directory, continuing to push stats W1214 18:54:40.784185 1 container.go:545] Failed to update stats for container "/004-mount": open /sys/fs/cgroup/memory/004-mount/memory.numa_stat: no such file or directory, continuing to push stats W1214 18:54:40.998697 1 container.go:545] Failed to update stats for container "/002-format": open /sys/fs/cgroup/memory/002-format/memory.numa_stat: no such file or directory, continuing to push stats W1214 18:54:40.999043 1 container.go:545] Failed to update stats for container "/systemreserved/ntpd": open /sys/fs/cgroup/memory/systemreserved/ntpd/memory.numa_stat: no such file or directory, continuing to push stats W1214 18:54:41.053612 1 container.go:545] Failed to update stats for container "/podruntime": open /sys/fs/cgroup/memory/podruntime/memory.numa_stat: no such file or directory, continuing to push stats W1214 18:54:41.343179 1 container.go:545] Failed to update stats for container "/docker/buildkit": open /sys/fs/cgroup/memory/docker/buildkit/memory.numa_stat: no such file or directory, continuing to push stats
cqboyone commentedon Dec 22, 2020
i have the same question too.
triscuitcircuit commentedon Dec 24, 2020
same error here, except when compiling to wasm with rust lang it causes a seg fault. Cargo also wont exit and the fans turn on full blast and wont stop.
My issue could just be an issue with the rust lang compiler itself however, and only related to this thread by the warning
edmondliang commentedon Dec 25, 2020
I have the same problem with M1 as well.
docker run -ti google/cloud-sdk:latest gcloud version
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested Google Cloud SDK 321.0.0 alpha 2020.12.11 app-engine-go 1.9.71 app-engine-java 1.9.84 app-engine-python 1.9.91 app-engine-python-extras 1.9.91 beta 2020.12.11 bigtable bq 2.0.64 cbt 0.9.0 cloud-datastore-emulator 2.1.0 cloud-firestore-emulator 1.11.11 cloud-spanner-emulator 1.1.1 core 2020.12.11 datalab 20190610 gsutil 4.57 pubsub-emulator 0.2.0
iwankgb commentedon Dec 27, 2020
@edmondliang you are trying to run amd64 Linux build on arm64 Mac OS. This is not expected to work.
iwankgb commentedon Dec 27, 2020
@triscuitcircuit why do you think your problem is related to cAdvisor?
triscuitcircuit commentedon Dec 28, 2020
@iwankgb probably not, I am able to view whats going on in the containers without a problem. It seems to be an issue with Qemu or Rustc itself but im not really sure which one.
iwankgb commentedon Dec 29, 2020
@vynu It seems to me that your problem is another issue (see #2743) related to topology detection on ARM systems. I will try to fix it but I need to have another two PRs merged first.
vynu commentedon Dec 29, 2020
@iwankgb got it.. could you help me find out exactly where its been failing ?
iwankgb commentedon Dec 29, 2020
@vynu the problems seems to be located in runc that cAdvisor uses to get information from
memory.numa_stat
file. I think that this function is a culprit.Fixing it is a bit complicated, because:
vynu commentedon Dec 29, 2020
aah!! gotcha ...
nouaman commentedon Jan 10, 2021
This is a docker problem in version 20.
Version 19 should work fine.
see docker/for-linux#1170 (comment)
iwankgb commentedon Jan 10, 2021
@nouaman yes, it is part of the problem. Another one is that Apple hardware seem not to expose certain files in
sysfs
.iwankgb commentedon Jan 11, 2021
@vynu can you provide me with the following (all from Apple M1 system):
/sys/fs/cgroup
/sys/devices/system/cpu
directory/proc/cpuinfo
59 remaining items