D
D
Dmitry Gavrilenko2021-10-05 15:15:16
.NET
Dmitry Gavrilenko, 2021-10-05 15:15:16

Which Docker image should I choose to run the binary (.NET 6)?

There is an application that will run in Docker on Raspberry Pi 3.
The application uses Gpio and can connect to ssh.
The binary is compiled for the linux-arm platform and runs "as is" on the Raspberry itself.

What is the minimum Docker image to choose in order to be guaranteed to run an application with such functionality?

Let's say I can specify scratch in FROM or do I need to look at least at alpine images?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vasily Bannikov, 2021-10-05
@vabka

For self-contained there is an image with all dependencies, but without the core:
https://hub.docker.com/_/microsoft-dotnet-runtime-deps/ - it's better to use it.
But if there will be several applications - I would rather collect not self-contained:

mcr.microsoft.com/dotnet/nightly/runtime:6.0.0-rc.2-alpine3.14-arm64v8

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question