docs/mono
Docker Library Bot c908dd651c Run update.sh 2015-12-22 00:05:18 +00:00
..
README-short.txt Cut mono short desc down to less than 100 2014-11-04 15:41:31 -07:00
README.md Run update.sh 2015-12-22 00:05:18 +00:00
content.md Use explicit-type code blocks in a lot of obvious places (now that the Hub actually renders these _better_ than the no-type versions) 2015-08-13 09:29:14 -07:00
license.md FORMAT ALL THE THINGS 2015-02-12 13:42:10 -07:00
logo.png Add mono docs 2014-11-03 09:01:33 -08:00
tag-details.md Run update-tag-details.sh 2015-12-07 13:28:54 -08:00
user-feedback.md Add mono docs 2014-11-03 09:01:33 -08:00

README.md

Supported tags and respective Dockerfile links

For more information about this image and its history, please see the relevant manifest file (library/mono). This image is updated via pull requests to the docker-library/official-images GitHub repo.

For detailed information about the virtual/transfer sizes and individual layers of each of the above supported tags, please see the mono/tag-details.md file in the docker-library/docs GitHub repo.

What is Mono

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

How to use this image

This image will run stand-alone Mono console apps.

Create a Dockerfile in your Mono app project

This example Dockerfile will run an executable called TestingConsoleApp.exe.

FROM mono:3.10-onbuild
CMD [ "mono",  "./TestingConsoleApp.exe" ]

Place this file in the root of your app, next to the .sln solution file. Modify the exectuable name to match what you want to run.

This image includes ONBUILD triggers that adds your app source code to /usr/src/app/source, restores NuGet packages and compiles the app, placing the output in /usr/src/app/build.

With the Dockerfile in place, you can build and run a Docker image with your app:

$ docker build -t my-app .
$ docker run my-app

You should see any output from your app now.

Credits

This Docker image is provided by Xamarin, for users of the Mono Project.

Thanks to Michael Friis for his preliminary work.

License

This Docker Image is licensed with the Expat License. See the Mono Project licensing FAQ for details on how Mono and associated libraries are licensed.

Supported Docker versions

This image is officially supported on Docker version 1.9.1.

Support for older versions (down to 1.6) is provided on a best-effort basis.

Please see the Docker installation documentation for details on how to upgrade your Docker daemon.

User Feedback

Please report issues on the GitHub project.