Official Repository

Last pushed: 4 months ago
Short Description
Source Mage is a source-based GNU/Linux distribution with maximum flexibility in customization.
Full Description

Supported tags and respective Dockerfile links

For more information about this image and its history, please see the relevant manifest file (library/sourcemage). 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 repos/sourcemage/ file in the docker-library/repo-info GitHub repo.

Docker images for Source Mage GNU/Linux

Source Mage (or SMGL in abbreviated form) is a source-based GNU/Linux distribution based on a sorcery metaphor of "casting" and "dispelling" programs, which we refer to as "spells", and a package manager called "Sorcery". Our packages are designed to allow the user to customize the package any way they want (custom CFLAGS, LDFLAGS, ./configure flags, etc.) as well as offering as many of the package options as possible to the user up-front (you will not need to know what options a package has or what optional dependencies it can use ahead of time). Source code is always downloaded from the publisher's website and rarely patched. SMGL also includes many advanced features such as self-healing and sub-dependencies.

All of our scripts are GPL'd and our package manager and packages are written in bash, so they are easy to learn and modify. Sorcery supports custom packages maintained by users, which can override default packages and will never be touched by updates.


These images are based on our chroot images. To use them, simply do the following:

$ docker run -it sourcemage


$ docker run -it sourcemage:0.62


  • in order to get the full benefit of castfs you need additional flags (--device /dev/fuse --cap-add SYS_ADMIN) for access to /dev/fuse device within a container, but you've been warned because there are security implications to granting such capabilities/privileges to the container; otherwise installwatch will be used
  • 0.62 indicates the grimoire version this image is based on, otherwise latest will be pulled


All contents released under the GNU Free Documentation License.

All Source Mage code released under the GNU General Public License 2.0 or greater.

Supported Docker versions

This image is officially supported on Docker version 17.03.0-ce.

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


If you have any problems with or questions about this image, please contact us through a GitHub issue. If the issue is related to a CVE, please check for a cve-tracker issue on the official-images repository first.

You can also reach many of the official image maintainers via the #docker-library IRC channel on Freenode.


You are invited to contribute new features, fixes, or updates, large or small; we are always thrilled to receive pull requests, and do our best to process them as fast as we can.

Before you start to code, we recommend discussing your plans through a GitHub issue, especially for more ambitious contributions. This gives other contributors a chance to point you in the right direction, give you feedback on your design, and help you find out if someone else is working on the same thing.


Documentation for this image is stored in the sourcemage/ directory of the docker-library/docs GitHub repo. Be sure to familiarize yourself with the repository's file before attempting a pull request.

Docker Pull Command

Comments (0)