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

Error while docker build #149

Open
n0S3curity opened this issue Jan 26, 2025 · 0 comments
Open

Error while docker build #149

n0S3curity opened this issue Jan 26, 2025 · 0 comments

Comments

@n0S3curity
Copy link

Hi, there is an issue while building the docker with the command:

windows ARM64:
docker run --rm -p 3337:3000 --name hacktricks_cloud ghcr.io/hacktricks-wiki/hacktricks-cloud/translator-image bash -c "git clone https://github.com/HackTricks-wiki/hacktricks-cloud.git /app && cd /app && MDBOOK_PREPROCESSOR__HACKTRICKS__ENV=dev mdbook serve --hostname 0.0.0.0"
Cloning into '/app'...
2025-01-26 11:01:01 [ERROR] (mdbook::utils): Error: Chapter file not found, pentesting-cloud/azure-security/az-privilege-escalation/README.md
2025-01-26 11:01:01 [ERROR] (mdbook::utils): Caused By: No such file or directory (os error 2)

the command presented in the original .md file is not working at all.
there is no image for linux/arm64/v8 only for AMD.

linux/arm64/v8 - aarm64:
pi@raspberrypi:~ $ sudo docker run --rm -p 3377:3000 --name hacktricks_cloud -v ${pwd}/hacktricks-cloud:/app ghcr.io/hacktricks-wiki/hacktricks-cloud/translator-image bash -c "cd /app && git pull && MDBOOK_PREPROCESSOR__HACKTRICKS__ENV=dev mdbook serve --hostname 0.0.0.0"
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
exec /bin/bash: exec format error

there is a solution? or is it possible to release image for linux/arm64/v8?

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