Source Mage预计阅读时间: 3 分钟
Source Mage is a source-based GNU/Linux distribution with maximum flexibility in customization.
GitHub repo: https://github.com/vaygr/docker-sourcemage
This content is imported from the official Docker Library docs, and is provided by the original uploader. You can view the Docker Store page for this repo at https://store.docker.com/images/sourcemage.
Supported tags and respective
For detailed information about the published artifacts of each of the above supported tags (image metadata, transfer size, etc), please see the
repos/sourcemage directory in the
docker-library/repo-info GitHub repo.
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.
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/fusedevice 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.62indicates the grimoire version this image is based on, otherwise
latestwill 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.04.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.
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
README.md file before attempting a pull request.