wazuh / wazuh-docker

Wazuh - Docker containers
https://wazuh.com
Other
718 stars 404 forks source link

Error response from daemon: manifest for wazuh/wazuh-cert-tool:5.0.0 not found: manifest unknown: manifest unknown #1622

Closed fahadshery closed 8 hours ago

fahadshery commented 1 week ago

Hi,

trying to create the certs as per the docs:

docker compose -f generate-certs.yml run --rm generator

but getting the following error:

Error response from daemon: manifest for wazuh/wazuh-cert-tool:5.0.0 not found: manifest unknown: manifest unknown

here is the yaml file:

---
services:
  generator:
    image: wazuh/wazuh-cert-tool:5.0.0
    hostname: wazuh-cert-tool
    container_name: wazuh-cert-tool
    volumes:
      - ./config/wazuh_indexer_ssl_certs/:/certificates/
      - ./config/certs.yml:/config/certs.yml
vcerenu commented 1 day ago

Hello @fahadshery

The master branch of our repositories is currently being used for development, so if you need to deploy our latest version of Wazuh, I recommend you check out our documentation, where you can get all the information for the deployment: https://documentation.wazuh.com/current/deployment-options/docker/wazuh-container.html

Our latest release has been v4.9.2, try running the deployment commands from this tag:

$ git checkout v4.9.2
Note: switching to 'v4.9.2'.
HEAD is now at 574c7b0 Merge pull request #1599 from wazuh/enhancement/1596-revert-images-tag
$ cd single-node/
$ docker-compose -f generate-indexer-certs.yml run --rm generator
[+] Creating 1/1
 ✔ Network single-node_default  Created                                                                                                                                            0.2s 
[+] Running 5/5
 ✔ generator Pulled                                                                                                                                                               18.8s 
   ✔ 17d0386c2fff Pull complete                                                                                                                                                   12.4s 
   ✔ 7ce91ec7d1d3 Pull complete                                                                                                                                                   14.7s 
   ✔ 5249716d429c Pull complete                                                                                                                                                   14.8s 
   ✔ d7003467fd14 Pull complete                                                                                                                                                   14.9s 
The tool to create the certificates exists in the in Packages bucket
28/11/2024 11:01:17 INFO: Generating the root certificate.
28/11/2024 11:01:17 INFO: Generating Admin certificates.
28/11/2024 11:01:17 INFO: Admin certificates created.
28/11/2024 11:01:17 INFO: Generating Wazuh indexer certificates.
28/11/2024 11:01:18 INFO: Wazuh indexer certificates created.
28/11/2024 11:01:18 INFO: Generating Filebeat certificates.
28/11/2024 11:01:18 INFO: Wazuh Filebeat certificates created.
28/11/2024 11:01:18 INFO: Generating Wazuh dashboard certificates.
28/11/2024 11:01:18 INFO: Wazuh dashboard certificates created.
Moving created certificates to the destination directory
Changing certificate permissions
Setting UID indexer and dashboard
Setting UID for wazuh manager and worker
fahadshery commented 8 hours ago

thanks, this solved it!