question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error when using alpine Docker image

See original GitHub issue

The 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:closed
  • Created 6 years ago
  • Comments:13 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
alpegoncommented, Nov 21, 2018

Fixed in PR #286. Thanks to the new version of udocker the alpine containers can be used in AWS Lambda.

0reactions
alpegoncommented, Nov 20, 2018

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found