Sponsored by Xamarin, Mono is an open source implementation of Microsoft's .NET Framework based on the ECMA standards for C# and the Common Language Runtime. A growing family of solutions and an active and enthusiastic contributing community is helping position Mono to become the leading choice for development of cross platform applications.
%%LOGO%%
To run a pre-built .exe file with the Mono image, use the following commands:
FROM %%IMAGE%%:latest
RUN mkdir /opt/app
COPY HelloWorld.exe /opt/app
CMD ["mono", "/opt/app/HelloWorld.exe"]
You can build and run the Docker Image as shown in the following example:
docker build -t monoapp .
docker run -it --rm monoapp
This Docker image is provided by Xamarin, for users of the Mono Project.
Thanks to Michael Friis for his preliminary work.