Error when using alpine Docker image
See original GitHub issueThe execution of the alpine:latest Docker image in AWS Lambda results in the following error:
Error: command not found or has no execute bit set: ['/bin/sh', '/tmp/udocker/script.sh']
Info: creating repo: /tmp/home/.udocker
Warning: running as uid 0 is not supported by this engine
Warning: non-existing user will be created
The same Lambda function works well with ubuntu:16.04 and centos:7
The weird point is that udocker works fine when executing a container out of alpine:latest on a local machine.
Issue Analytics
- State:
- Created 6 years ago
- Comments:13 (8 by maintainers)
Top Results From Across the Web
docker can't build because of alpine error - Stack Overflow
Basically says that you are either offline, or the alpinelinux repo is down. I cannot find anything about it on the internet, but...
Read more >Alpine 3.14 images can fail on Docker versions older than 20.10
The faccessat2 syscall has been enabled in musl. This can result in issues on docker hosts with older versions of docker (<20.10.0) and...
Read more >Add a User in Alpine Docker Image | Baeldung on Linux
Learn how to add users and correct their permissions in Docker containers with Alpine Linux.
Read more >docker, alpine linux (solved) on Extension talk:Scribunto
Error 127 - docker, alpine linux (solved) ... Does the lua binary bundled with Scribunto and Alpine Linux as a docker container not...
Read more >Error when building image : r/docker - Reddit
Their dockerfile uses alpine:latest. This has probably worked in the past but package names have changed as the alpine image has been updated....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Fixed in PR #286. Thanks to the new version of udocker the alpine containers can be used in AWS Lambda.
I created a branch called ‘udocker-update’ with the latest version of udocker. This version solves the issue with alpine containers (at least the containers that I tested). Please check the if branch works correctly with your containers.