From 3305e3bd271ceb007036f6ebfa8da559b763451b Mon Sep 17 00:00:00 2001 From: Nitesh Konkar Date: Wed, 24 Apr 2019 20:18:35 +0530 Subject: [PATCH] Readme: Update readme with snap remove command Update Readme with command on how to remove snap after installing it. Fixes: #446 Signed-off-by: Nitesh Konkar niteshkonkar@in.ibm.com --- snap/README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/snap/README.md b/snap/README.md index 5a2a567cd8..bbb5cb1d3b 100644 --- a/snap/README.md +++ b/snap/README.md @@ -5,6 +5,7 @@ * [Build and install snap image](#build-and-install-snap-image) * [Configure Kata Containers](#configure-kata-containers) * [Integration with docker and kubernetes](#integration-with-docker-and-kubernetes) +* [Remove Snap](#remove-snap) * [Limitations](#limitations) This directory contains the resources needed to build the Kata Containers @@ -20,7 +21,7 @@ $ sudo apt-get install -y snapd snapcraft ## Install snap -You can install Kata Containers from the [snapcraft store][8] or by running the following command: +You can install the Kata Containers snap from the [snapcraft store][8] or by running the following command: ```sh $ sudo snap install kata-containers @@ -64,6 +65,14 @@ The path to the runtime provided by the Kata Containers snap image is `/snap/kata-containers/current/usr/bin/kata-runtime`. You should use it to run Kata Containers with [docker][9] and [kubernetes][10]. +## Remove snap + +You can remove the Kata Containers snap by running the following command: + +```sh +$ sudo snap remove kata-containers +``` + ## Limitations The [miniOS image][2] is not included in the snap image as it is not possible for