wazuh / wazuh-documentation

Wazuh - Project documentation
https://wazuh.com
191 stars 336 forks source link

Add YUM commands to Docker install in Wazuh Docker deployment #5228

Open rauldpm opened 2 years ago

rauldpm commented 2 years ago

Hello team,

I have seen in the Wazuh Docker deployment that the documentation refers to the installation of Docker on CentOS systems to use the DNF package manager.

This package manager on a CentOS 8 system works, but on a CentOS 7 or Red Hat 7 system, it does not, since DNF is not installed by default. In CentOS 7, the default package manager is YUM, therefore, the necessary orders for the said system should be added.

dnf config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo
dnf install docker-ce --nobest -y
sudo yum install -y yum-utils
sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
sudo yum install docker-ce docker-ce-cli containerd.io docker-compose-plugin
Spades0 commented 2 years ago

This has been updated in the docker documentation