blob: d37f5ff245cc1c3be14cec4462ca00cfda94255f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
post_install() {
cat <<EOF
To use with kata-runtime with docker,
- add the following config to /etc/docker/daemon.json
"""
{
"runtimes": {
"kata": {
"path": "/usr/bin/kata-runtime"
}
}
}
"""
and restart the docker daemon
- run containers with the "--runtime=kata" options to use kata-runtime
"""
$ docker run --runtime=kata --rm busybox date
"""
- to set kata as the default runtime, add '"default-runtime": "kata"' to /etc/docker/daemon.json and restart the docker daemon
"""
{
"runtimes": {
"kata": {
"path": "/usr/bin/kata-runtime"
},
"default-runtime": "kata"
}
}
"""
EOF
}
|