crAPI icon indicating copy to clipboard operation
crAPI copied to clipboard

Getting Core Dumped Error!!

Open Ractorrr opened this issue 1 year ago • 0 comments

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

  • Docker Version:
    docker -v
    
    Output:
    Docker version 20.10.25+dfsg1, build b82b9f3
    
  • Operating System:
    uname -a
    
    Output:
    Linux kali 6.6.9-amd64 #1 SMP PREEMPT_DYNAMIC Kali 6.6.9-1kali1 (2024-01-08) x86_64 GNU/Linux
    

Additional Information

  • No custom configurations or changes were applied to the Docker environment.
  • Restarting Docker service and rebooting the host machine did not resolve the issue.

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

Ractorrr avatar Apr 07 '24 15:04 Ractorrr