.. _kata: Kata Containers\* ################# This tutorial describes how to install, configure, and run `Kata Containers`_ on |CL-ATTR|. .. contents:: :local: :depth: 1 Description *********** Kata Containers is an open source project developing a lightweight implementation of :abbr:`VMs (Virtual Machines)` that offer the speed of containers and the security of VMs. Prerequisites ************* This tutorial assumes you have installed |CL| on your host system. For detailed instructions on installing |CL| on a bare metal system, follow the :ref:`bare metal installation tutorial`. If you have Clear Containers installed on your |CL| system, then follow the :ref:`migrate Clear Containers to Kata Containers tutorial`. Before you install any new packages, update |CL| with the following command: .. code-block:: bash sudo swupd update Install Kata Containers *********************** Kata Containers is included in the :file:`containers-virt` bundle. To install the framework, enter the following command: .. code-block:: bash sudo swupd bundle-add containers-virt Restart the Docker\* and Kata Containers systemd services. .. code-block:: bash sudo systemctl daemon-reload sudo systemctl restart docker Run Kata Containers ******************* .. code-block:: bash sudo docker run -ti busybox sh .. note:: If you use a proxy server and your proxy environment variables are already set, run the following commands as a shell script to configure Docker: .. code-block:: bash docker_service_dir="/etc/systemd/system/docker.service.d/" sudo mkdir -p "$docker_service_dir" cat <