mirror of
https://github.com/apple/container.git
synced 2026-09-11 10:15:38 +00:00
## Changes ### README.md - Fixed grammatical error: "when a process is ran" → "when a process is run" - Fixed plural form: "for instruction on" → "for instructions on" ### kernel/README.md - Fixed numbering sequence: "4. Run `make`" → "3. Run `make`" in build instructions ### Sources/Containerization/LinuxContainer.swift - Fixed grammatical error in comment: "The container has ran" → "The container has run"
23 lines
841 B
Markdown
23 lines
841 B
Markdown
# Containerization Kernel Configuration
|
|
|
|
This directory includes an optimized kernel configuration to produce a fast and lightweight kernel for container use.
|
|
|
|
|
|
- `config-arm64` includes the kernel `CONFIG_` options.
|
|
- `Makefile` includes the kernel version and source package url.
|
|
- `build.sh` scripts the kernel build process.
|
|
- `image/` includes the configuration for an image with build tooling.
|
|
|
|
## Building
|
|
|
|
1. Build the `Containerization` project by running `make` in the root of the repository.
|
|
2. Place a kernel you want to use in `bin/vmlinux` directory of the repository.
|
|
|
|
a. This kernel will be used to launch the build container.
|
|
|
|
b. To fetch a default kernel run `make fetch-default-kernel` in the root of the repository.
|
|
3. Run `make` in the `/kernel` directory.
|
|
|
|
A `kernel/vmlinux` will be the result of the build.
|
|
|