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

udocker Issue on AWS Lambda with ARM64 Architecture #430

Open
sourabh-prasad opened this issue Aug 20, 2024 · 0 comments
Open

udocker Issue on AWS Lambda with ARM64 Architecture #430

sourabh-prasad opened this issue Aug 20, 2024 · 0 comments

Comments

@sourabh-prasad
Copy link

When attempting to run udocker with the fakechroot engine on AWS Lambda using the aarch64 (ARM64) architecture, the execution fails. This issue prevents users from utilizing udocker within Lambda functions on ARM-based Lambda instances when the fakechroot engine is selected. we are using udocker latest version.

Reproduction Steps

  1. Trying to execute a Python script with the python:3.9-alpine3.18 Docker image from public.ecr.aws/docker/library/.

  2. The command being executed is:

  ['/opt/udocker/udocker', '--quiet', 'run', '-v', '/tmp', '-v', '/tmp/tmpnevtmuyu', '-v', '/tmp/tmpwjm2uz25', '-v', '/dev', '-v', '/proc', '-v', '/etc/hosts', '--nosysdirs', '--env', 'REQUEST_ID=5e4999ca-0cb4-4fc9-9664-ecacbd950291', '--env', 'INSTANCE_IP=169.254.41.157', '--env', 'INPUT_FILE_PATH=/tmp/tmpnevtmuyu/event_file', '--env', 'TMP_OUTPUT_DIR=/tmp/tmpwjm2uz25', '--entrypoint=/bin/sh /tmp/tmpnevtmuyu/script.sh', 'udocker_container']

Error Details

  • Error message: bin/sh: No such file or directory in aarch64

  • Fakechroot engine return code: 127

  • Fakechroot engine stdout: (empty)

  • Fakechroot engine stderr: env: /tmp/shared/udocker/containers/305c14b0-a8f1-388a-bde3-217d70f161b7/ROOT/bin/sh: No such file or directory

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