wazuh / wazuh-docker

Wazuh - Docker containers
https://wazuh.com
Other
678 stars 392 forks source link

Docker deployment should work with Docker Compose 2.x #1314

Closed vcerenu closed 2 months ago

vcerenu commented 5 months ago

Context

We have received issues from the community on many occasions with errors in the deployment of Wazuh in Docker using version 2.x of Docker Compose.

It is necessary to investigate what changes are necessary to adapt the current deployment process, compatible with Docker Compose 1.x, to be able to deploy without problems with Docker Compose 2.x.

schneich commented 3 months ago

Please allow me to jump in here. In the current version of the docker specification, there is no need to provide a version number at all - but you have to use docker compose up. (without the dash)

Reference:

All your containers seem to start up properly with docker compose up - except the SSL-certificate-creation-container.

schneich commented 3 months ago

This might be of relevance as well: https://github.com/wazuh/wazuh-docker/issues/1406

davidjiglesias commented 2 months ago

We are redesigning our Docker deployment in 5.0.0