diff options
author | zer0def | 2021-05-15 06:43:45 +0200 |
---|---|---|
committer | zer0def | 2021-05-15 06:46:09 +0200 |
commit | ac057edcd1038c6d89b6dd8425519879b3629cc3 (patch) | |
tree | 92629dae55bc2cddd2ec6f4a8a55a9ad4f582dbe /kata-runtime.install | |
parent | bf765e228484662ffec5850e31e8348aa8dcc610 (diff) | |
download | aur-ac057edcd1038c6d89b6dd8425519879b3629cc3.tar.gz |
Kata 1.x archived, move 2.x under main pkgbase.
Diffstat (limited to 'kata-runtime.install')
-rw-r--r-- | kata-runtime.install | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/kata-runtime.install b/kata-runtime.install deleted file mode 100644 index bf29b5a97eae..000000000000 --- a/kata-runtime.install +++ /dev/null @@ -1,44 +0,0 @@ -post_install() { - cat <<EOF - -To use 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 -""" -{ - "default-runtime": "kata", - "runtimes": { - "kata": { - "path": "/usr/bin/kata-runtime" - }, - } -} - -""" - -- to run Kata with Firecracker, due to Firecracker's limitations, you have to set your Docker storage driver (ref: https://docs.docker.com/storage/storagedriver/select-storage-driver/ ) to 'devicemapper' in /etc/docker/daemon.json -""" -{ - "storage-driver": "devicemapper" -} -""" - -EOF - -} |