blabla1337 / skf-flask

Security Knowledge Framework (SKF) Python Flask / Angular project
https://www.securityknowledgeframework.org
Apache License 2.0
806 stars 308 forks source link

Running Labs in Mac M1 because of architecture mismatch when pulling images #807

Open mesutgungor opened 1 year ago

mesutgungor commented 1 year ago

I couldn't run lab images on M1 Mac Then i debug the Kubernetes name space and see that the pod gives error because it couldn't find out image matching the M1 architecture

Failed to pull image "blabla1337/owasp-skf-lab:xss": rpc error: code = Unknown desc = no matching manifest for linux/arm64/v8 in the manifest list entries

Then i manually pull the image with the parameter --platform linux/x86_64

docker pull --platform linux/x86_64 blabla1337/owasp-skf-lab:xss

Then restart the lab and see it is working. For every lab i should pull the images with this parameter.

So an option could be added to docker-compose globally to choose the architecture which also affects skf-flask application component installation like mysql, npm, sfk-api

github-actions[bot] commented 1 year ago

Thank you for creating an issue ticket for our SKF project, we highly appriciate the feedback so we can improve the project and make it more awesome for everyone! We will shortly come back to you after the evaluation of the issue.