Save the following as docker-prereqs.sh
and run as root or with sudo:
#!/bin/bash
DOCKER_USER=dotcms-docker
dnf install -y yum-utils
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
dnf update -y
dnf install -y iptables tar fuse-overlayfs jq