Docker Installation - Redhat / RHEL 7.x/8.x

Installing Entermedia's Docker on RHEL 7/8 server

Installing Docker

Redhat can use centos repository to install required Docker CE version:

sudo yum update
sudo yum install -y yum-utils
sudo yum install -y
sudo yum install -y yum-utils device-mapper-persistent-data lvm2
sudo yum-config-manager --add-repo
sudo yum install -y
sudo yum install docker-ce docker-ce-cli
sudo systemctl start docker
sudo usermod -aG docker username

Check if firewall-cmd is installed

firewall-cmd --version

if it's installed you need to allow Docker's network

first we create a virtual network

sudo docker network create --subnet entermedia 

Enabling network on the firewall

sudo firewall-cmd --permanent --zone=trusted --add-interface=$(ip route | grep | cut -d " " -f 3)
sudo systemctl restart firewalld

If this didn't work

# look for dockers firewall that has
ip a 

#Add to firewall
sudo firewall-cmd --permanent --zone=trusted --add-interface=docker0
sudo systemctl restart firewalld

Install entermedia server

curl -o -jL
sudo bash ./ mitre 100

Installing App PluginS

sudo curl -o /media/emsites/mitre/services/extensions/
sudo /media/emsites/mitre/100/