PS C:\Users\Administration> docker run -it `
>> --platform linux/arm64 `
>> --name ubuntu24-arm64 `
>> ubuntu:24.04 `
>> bash
Unable to find image 'ubuntu:24.04' locally
24.04: Pulling from library/ubuntu
6542099f24f2: Pull complete
b3f1d541f3a8: Download complete
Digest: sha256:9c7f200c07e3d4a03e7249d2c16bf66a51120fb876aa2242cf31451412543289
Status: Downloaded newer image for ubuntu:24.04
root@ce09be24c892:/# time="2026-11-20T17:15:47+08:00" level=error msg="error waiting for container: unexpected EOF"
PS C:\Users\Administration> wsl -l -v
NAME STATE VERSION
* Ubuntu-22.04 Running 2
docker-desktop Stopped 2
PS C:\Users\Administration> docker run -it --platform linux/arm64 ubuntu:24.04 bash
root@6475a2caa71a:/# uname -m
aarch64
root@6475a2caa71a:/# dpkg --print-architecture
arm64
root@6475a2caa71a:/# apt update
apt install -y \
build-essential \
gcc \
g++ \
gdb \
gdbserver \
cmake \
make \
git \
vim \
file
318


&spm=1001.2101.3001.11974&articleId=171108662&d=1&t=3&u=32bc0cb417494402b9982f3a69c5cf1f)

被折叠的 条评论
为什么被折叠?



