cccs-cat001 opened a new issue, #2554:
URL: https://github.com/apache/polaris/issues/2554

   ### Describe the bug
   
   I was following along these docs 
https://polaris.apache.org/in-dev/unreleased/getting-started/quickstart/#running-polaris-with-docker
 to try and run polaris locally with docker, but the docker compose fails to 
start 
   ```bash
   docker compose -p polaris -f 
getting-started/assets/postgres/docker-compose-postgres.yml   -f 
getting-started/jdbc/docker-compose-bootstrap-db.yml   -f 
getting-started/jdbc/docker-compose.yml up -d
   WARN[0000] The "STORAGE_LOCATION" variable is not set. Defaulting to a blank 
string.
   WARN[0000] The "AWS_ROLE_ARN" variable is not set. Defaulting to a blank 
string.
   WARN[0000] The "AZURE_TENANT_ID" variable is not set. Defaulting to a blank 
string.
   [+] Running 6/6
    ✔ Container polaris-postgres-1           Healthy                            
                                                                                
 7.0s
    ✔ Container polaris-polaris-bootstrap-1  Exited                             
                                                                                
 8.3s
    ✔ Container polaris-polaris-1            Healthy                            
                                                                                
14.2s
    ✘ Container polaris-polaris-setup-1      service "polaris-setup" didn't 
complete successfully: exit 1                                                   
    15.2s
    ✔ Container polaris-trino-1              Created                            
                                                                                
 0.1s
    ✔ Container polaris-spark-sql-1          Created                            
                                                                                
 0.1s
   service "polaris-setup" didn't complete successfully: exit 1
   ```
   The setup fails, so I look at the logs for the setup container and 
   ```bash
   docker logs polaris-polaris-setup-1
   fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz
   280B3857277F0000:error:0A000086:SSL 
routines:tls_post_process_server_certificate:certificate verify 
failed:ssl/statem/statem_clnt.c:2123:
   WARNING: fetching https://dl-cdn.alpinelinux.org/alpine/v3.22/main: 
Permission denied
   fetch 
https://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz
   280B3857277F0000:error:0A000086:SSL 
routines:tls_post_process_server_certificate:certificate verify 
failed:ssl/statem/statem_clnt.c:2123:
   WARNING: fetching https://dl-cdn.alpinelinux.org/alpine/v3.22/community: 
Permission denied
   ERROR: unable to select packages:
     jq (no such package):
       required by: world[jq]
   ```
   it's missing jq. Is there another image the setup container should be using 
that does include jq? 
   
   ### To Reproduce
   
   1. Kill all your polaris containers with either `docker compose down` or 
manually
   2. Remove all polaris containers to start fresh: `docker rm 
polaris-spark-sql-1 polaris-trino-1 polaris-polaris-setup-1 polaris-polaris-1 
polaris-polaris-bootstrap-1 polaris-postgres-1`
   3. Rerun the docker compose:  docker compose -p polaris -f 
getting-started/assets/postgres/docker-compose-postgres.yml   -f 
getting-started/jdbc/docker-compose-bootstrap-db.yml   -f 
getting-started/jdbc/docker-compose.yml up -d
   
   ### Actual Behavior
   
   System fails to start. 
   
   ### Expected Behavior
   
   All containers should successfully launch. 
   
   ### Additional context
   
   _No response_
   
   ### System information
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to