Closed TAGC closed 7 years ago
Are you able to build and run your image based on arm32v7/debian:stretch
in your environment?
FROM arm32v7/debian:stretch
RUN apt-get update
Your issue doesn't seem to be specific to the microsoft/dotnet images.
No, that fails in the same way as expected. It's not specific to microsoft/dotnet, I was just hoping they'd provide a way to simplify deployment of .NET Core applications targeting ARM devices from x86-based machines like most people use. I imagine this would be even more necessary for the SDK images when work starts on them.
I can understand if this isn't something that Microsoft wants to focus on. In that case, this issue can be closed and I'll try to find a workaround.
It looks like you are using Docker Toolbox because you are on Windows 7. I'm not sure this is what "most people use". Docker considers this a "Legacy desktop solution" and recommends upgrading. I think you will find that using a Window 10 machine will provide the experience you are looking for. You will be able to build and run arm32v7 images.
Ah okay, I'll hold off on this until I upgrade to Windows 10.
Once you upgrade, if you encounter issues feel free to open a new issue. Closing issue.
This builds on #223, which is now done. If possible, I'd like to be able to create images derived from the dotnet Docker images targeting ARM containing modifications such as additional installed packages.
Looking into it, I think this might be possible using a system emulation tool like QEMU.
Steps to reproduce the issue
On an x86-based machine, like one running Windows 7:
docker build . -t example
Expected behavior
The image builds without error, and I can see an image tagged as
example:latest
when I rundocker images
.Actual behavior
The build fails on the first
RUN
command withstandard_init_linux.go:178: exec user process caused "exec format error"
.Additional information (e.g. issue happens only occasionally)
Output of
docker version
Output of
docker info