diff options
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 - -} |