Bash: line 1: yum: command not found

Hello World!

I'm trying to get started with Elastic Stack 7.17 by following: Running the Elastic Stack on Docker, yet running into this:

% docker-compose -f create-certs.yml run --rm create_certs

[+] Running 2/0
 ⠿ Network es_elastic  Created                                                                                                                                                                     0.0s
 ⠿ Volume "es_certs"   Created                                                                                                                                                                     0.0s
[+] Running 10/10
 ⠿ create_certs Pulled                                                                                                                                                                            45.8s
   ⠿ 1885934a00e5 Pull complete                                                                                                                                                                    8.4s
   ⠿ 4b9204bb1a76 Pull complete                                                                                                                                                                    9.3s
   ⠿ 7137590c5e4f Pull complete                                                                                                                                                                    9.4s
   ⠿ e40f9b6550d5 Pull complete                                                                                                                                                                   43.0s
   ⠿ b278129515bd Pull complete                                                                                                                                                                   43.0s
   ⠿ 09507fbf7e62 Pull complete                                                                                                                                                                   43.1s
   ⠿ 9e94c980013f Pull complete                                                                                                                                                                   43.2s
   ⠿ 484a9e501a41 Pull complete                                                                                                                                                                   43.2s
   ⠿ b596c840dae4 Pull complete                                                                                                                                                                   43.3s
bash: line 1: yum: command not found
Archive:  /certs/
   creating: /certs/ca/
  inflating: /certs/ca/ca.crt        

Also, the link to elastic/stack-docs repository on GitHub is broken (404)

Please advise.

I've noticed that image that being used is Debian based (apt), rather CentOS based (yum)


% grep apt-get create-certs.yml 
        apt-get install -y -q unzip;

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.