wazuh-docker icon indicating copy to clipboard operation
wazuh-docker copied to clipboard

Docker deployment should work with Docker Compose 2.x

Open vcerenu opened this issue 10 months ago • 2 comments

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.

vcerenu avatar Apr 24 '24 09:04 vcerenu

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:

  • https://docs.docker.com/compose/compose-file/legacy-versions/
  • https://docs.docker.com/compose/compose-file/04-version-and-name/

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

schneich avatar Jun 26 '24 20:06 schneich

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

schneich avatar Jun 26 '24 20:06 schneich

We are redesigning our Docker deployment in 5.0.0

davidjiglesias avatar Jul 11 '24 14:07 davidjiglesias