OWASP / crAPI

completely ridiculous API (crAPI)
Apache License 2.0
1.03k stars 325 forks source link

Getting Core Dumped Error!! #241

Open Ractorrr opened 3 months ago

Ractorrr commented 3 months ago

Describe the bug When attempting to run the crAPI Docker container (crapi/crapi-web:latest) on my Ubuntu x86_64 system with Docker version 20.10.13, the container fails to start and exits with an "Illegal instruction (core dumped)" error.

To Reproduce Steps to reproduce the behavior:

  1. Pull the crAPI Docker image:
    docker pull crapi/crapi-web:latest
  2. Run the Docker container:
    docker run --name crapi-web crapi/crapi-web:latest
  3. Observe the container status and inspect Docker logs:
    docker logs crapi-web
  4. Output
    total 16
    drwxr-xr-x    2 root     root          4096 Feb  4 15:58 .
    drwxr-xr-x    1 root     root          4096 Feb  4 16:05 ..
    -rw-r--r--    1 root     root          2240 Feb  4 15:58 server.crt
    -rw-r--r--    1 root     root          3272 Feb  4 15:58 server.key
    WORKSHOP_SERVICE=crapi-workshop:8000
    HOSTNAME=6685c8e25d64
    SHLVL=2
    HOME=/root
    HTTP_PROTOCOL=http
    PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/openresty/luajit/bin:/usr/local/openresty/nginx/sbin:/usr/local/openresty/bin
    COMMUNITY_SERVICE=crapi-community:8087
    TLS_ENABLED=false
    IDENTITY_SERVICE=crapi-identity:8080
    PWD=/
    NGINX_TEMPLATE=/etc/nginx/conf.d/default.conf.template
    Illegal instruction (core dumped)

Expected behavior The crAPI Docker container (crapi/crapi-web:latest) should start successfully and be ready to serve requests on the specified ports (e.g., port 80 and port 443).

Runtime Environment

Additional Information

Please let me know if further information or logs are needed to diagnose this issue. Thank you!