Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mesutgungor opened this issue Sep 11, 2022 · 1 comment

Comments

@mesutgungor
Copy link

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
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant