Aly*_*lyx 5 .net c# docker digital-ocean-apps
我正在尝试使用 DigitalOcean 在 docker hub 上托管C# docker 容器(使用 Apps 平台)
[2021-12-08 23:24:04] starting container: starting non-root container [dotnet Alace.cs.dll]: creating process: failed to load /usr/bin/dotnet: exec format error
该容器在我的计算机上运行得非常好。
Han*_*ian 13
您的映像是为 Arm 处理器构建的,而 DigitalOcean 机器可能是 amd64 机器。
您可以尝试使用 buildx 命令构建 amd64。就像是
docker buildx build --platform linux/amd64 -t alyxw/alace-cs:amd64 .
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
7426 次 |
| 最近记录: |