diff options
author | zer0def | 2020-10-25 14:57:26 +0100 |
---|---|---|
committer | zer0def | 2020-10-25 16:08:36 +0100 |
commit | 32403d11b7cdc307f10747aa5c048d9848938319 (patch) | |
tree | f239c43a1f7e56464aa4478d0e3c9f8c6512d16e /kata-runtime.install | |
parent | c2f87b758d3a409a9bc097373f8f3f10f8025105 (diff) | |
download | aur-32403d11b7cdc307f10747aa5c048d9848938319.tar.gz |
Fork out Kata 2.0 packages.
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 - -} |