You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14-4Lines changed: 14 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,9 @@
3
3
The Containerization package allows applications to use Linux containers.
4
4
Containerization is written in [Swift](https://www.swift.org) and uses [Virtualization.framework](https://developer.apple.com/documentation/virtualization) on Apple silicon.
5
5
6
+
> **Looking for command line binaries for running containers?**\
7
+
> They are available in the dedicated [apple/container](https://github.com/apple/container) repository.
@@ -23,7 +26,7 @@ Containerization executes each Linux container inside of its own lightweight vir
23
26
[vminitd](/vminitd) is a small init system, which is a subproject within Containerization.
24
27
`vminitd` is spawned as the initial process inside of the virtual machine and provides a GRPC API over vsock.
25
28
The API allows the runtime environment to be configured and containerized processes to be launched.
26
-
`vminitd` provides I/O, signals, and events to the calling process when a process is ran.
29
+
`vminitd` provides I/O, signals, and events to the calling process when a process is run.
27
30
28
31
## Requirements
29
32
@@ -59,9 +62,9 @@ While this configuration will work for the majority of workloads we understand t
59
62
To solve this Containerization provides first class APIs to use different kernel configurations and versions on a per container basis.
60
63
This enables containers to be developed and validated across different kernel versions.
61
64
62
-
See the [README](/kernel/README.md) in the kernel directory for instruction on how to compile the optimized kernel.
65
+
See the [README](/kernel/README.md) in the kernel directory for instructions on how to compile the optimized kernel.
63
66
64
-
### Pre-build Kernel
67
+
### Pre-built Kernel
65
68
66
69
If you wish to consume a pre-built kernel it must have `VIRTIO` drivers compiled into the kernel, not as modules.
67
70
@@ -71,6 +74,13 @@ A kernel image named `vmlinux.container` can be found in the `/opt/kata/share/ka
71
74
72
75
## Prepare to build package
73
76
77
+
Install the recommended version of Xcode.
78
+
79
+
Set the active developer directory to the installed Xcode (replace `<PATH_TO_XCODE>`):
80
+
```bash
81
+
sudo xcode-select -s <PATH_TO_XCODE>
82
+
```
83
+
74
84
Install [Swiftly](https://github.com/swiftlang/swiftly), [Swift](https://www.swift.org), and [Static Linux SDK](https://www.swift.org/documentation/articles/static-linux-getting-started.html):
75
85
76
86
```bash
@@ -143,7 +153,7 @@ make serve-docs
143
153
Preview the documentation by running in another terminal:
144
154
145
155
```bash
146
-
open http://localhost:8000/documentation/
156
+
open http://localhost:8000/containerization/documentation/
0 commit comments