diff --git a/install/fedora-installation-guide.md b/install/fedora-installation-guide.md index d573e7ddc3..3979a6f03c 100644 --- a/install/fedora-installation-guide.md +++ b/install/fedora-installation-guide.md @@ -6,7 +6,7 @@ Kata Containers is available for Fedora\* versions **26** and **27**. This step is only required in case Docker is not installed on the system. 1. Install the latest version of Docker with the following commands: -``` +```bash $ sudo dnf -y install dnf-plugins-core $ sudo dnf config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo $ sudo dnf makecache @@ -18,7 +18,7 @@ For more information on installing Docker please refer to the 2. Install the Kata Containers components with the following commands: -``` +```bash $ source /etc/os-release $ sudo -E VERSION_ID=$VERSION_ID dnf config-manager --add-repo \ https://download.opensuse.org/repositories/home:/katacontainers:/release/Fedora\_$VERSION_ID/home:katacontainers:release.repo @@ -27,7 +27,7 @@ $ sudo -E dnf -y install kata-runtime kata-proxy kata-shim 3. Configure Docker to use Kata Containers by default with the following commands: -``` +```bash $ sudo mkdir -p /etc/systemd/system/docker.service.d/ $ cat <> /etc/apt/sources.list.d/kata-containers.list" $ curl -sL https://download.opensuse.org/repositories/home:/katacontainers:/release/xUbuntu_$(lsb_release -rs)/Release.key | sudo apt-key add - $ sudo -E apt-get update @@ -31,7 +31,7 @@ $ sudo -E apt-get -y install kata-runtime kata-proxy kata-shim 3. Configure Docker to use Kata Containers by default with the following commands: -``` +```bash $ sudo mkdir -p /etc/systemd/system/docker.service.d/ $ cat <