Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note
titleNote

 Do not install Docker on Red Hat and just install the containerd.io.

sudo dnf install -y yum-utils device-mapper-persistent-data lvm2

sudo dnf config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo

sudo dnf update -y

sudo dnf install -y containerd.io

sudo mkdir -p /etc/containerd

sudo containerd config default > /etc/containerd/config.toml

sudo systemctl enable containerd

sudo systemctl restart containerd

...

After you install the required package, complete the following:

  1. Disable the firewall service.
      Enable
      • systemctl stop firewalld.service
      • systemctl disable firewalld.service
    •  Mask the firewalld service.
      • systemctl mask firewalld.service
      • systemctl status firewalld.service    
    • Install and enable the iptables service (if it exists).Reboot the system..
      • dnf install iptables-services
      • systemctl enable iptables
      • modprobe ipv6
      • modprobe ip6_tables
      • systemctl start iptables
      • systemctl status iptables
    • Reboot the system.
Note

Ensure the /var partition has at least 20 GB of free disk space. For Azure instances, use the command below to increase disk space. Note that commands may vary depending on the instance type.

lvextend -L+12G /dev/rootvg/varlv

xfs_growfs /dev/mapper/rootvg-varlv

For Ubuntu 20 and Ubuntu 22:

...