docs/mono
yosifkit 63c9218175
Add Docker Hub categories (#2446)
* Add repo metadata, start with categories!

scripts for checking repo categories, updating the canonical set
added categories to push.pl

* Add initial set of semi-acurate categories

* Adjustments following tianon's review

* Simplify metadata.sh use cases (CI or interactive); just diff and check all the time

Update README.md about metadata.sh usage

* Unify the categories checks into one jq expressions

* Update initial categories

* Link to Docker docs for categories; minor categories script adjustments
2024-05-17 11:44:00 -07: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 2023-05-09 14:18:03 -07:00
content.md Remove ONBUILD references from Mono content.md 2022-05-02 18:44:28 +02:00
github-repo Add github-repo file to every image repo 2016-05-12 16:33:19 -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
maintainer.md Refactor the way information (especially links) are presented 2017-04-21 17:48:19 -07:00
metadata.json Add Docker Hub categories (#2446) 2024-05-17 11:44:00 -07:00

README.md

Quick reference

Supported tags and respective Dockerfile links

Quick reference (cont.)

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

To run a pre-built .exe file with the Mono image, use the following commands:

FROM mono: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

Credits

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

Thanks to Michael Friis for his preliminary work.

Image Variants

The mono images come in many flavors, each designed for a specific use case.

mono:<version>

This is the defacto image. If you are unsure about what your needs are, you probably want to use this one. It is designed to be used both as a throw away container (mount your source code and start the container to start your app), as well as the base to build other images off of.

mono:<version>-slim

This image does not contain the common packages contained in the default tag and only contains the minimal packages needed to run mono. Unless you are working in an environment where only the mono image will be deployed and you have space constraints, we highly recommend using the default image of this repository.

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.

As with all Docker images, these likely also contain other software which may be under other licenses (such as Bash, etc from the base distribution, along with any direct or indirect dependencies of the primary software being contained).

Some additional license information which was able to be auto-detected might be found in the repo-info repository's mono/ directory.

As for any pre-built image usage, it is the image user's responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within.