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.

Incubator-superset container fails: exec user process caused "no such file or directory"

See original GitHub issue

Hello everyone,

I’m trying to install Superset with the help of Docker, but after running the following command: docker-compose up -d the status of the apache/incubator-superset container remains in Restarting, i.e. it keeps restarting again and again. Clearly some error is causing the container to fail, so the restart policy is restarting it repeatedly. As a consequence, I can’t run the next command: docker-compose exec superset bash since, the following error is thrown: Error response from daemon: Container fa5138... is restarting, wait until the container is running

Does anyone has any idea where the problem could be?

EDIT: After running docker logs to see the outputs the container is generating, I got the following error message: 2018-11-02T10:46:06.217791002Z standard_init_linux.go:190: exec user process caused "no such file or directory"

Thank you in advance!

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9

github_iconTop GitHub Comments

3reactions
csakaszamokcommented, Apr 3, 2019

Same error for me

1reaction
gaorongchaocommented, Apr 25, 2019

I try one possible solution. when your user docker in windows:

  • git config --global core.autocrlf input this made the file end with LF when your git clone in windows.

docker-compose run --rm superset ./docker-init.sh docker-compose up


if there still have some problem,please continue

  • bulid superset by hand, docker build -f ./contrib/docker/Dockerfile -t="supset-1" . this is run in root. and You will get the build image, such like c25ef5300307
  • modify ./contrib/docker/docker-compose.yml
  superset:
    image: c25ef5300307
    # build:
    #   context: ../../
    #   dockerfile: contrib/docker/Dockerfile
    restart: unless-stopped
    environment:
......
  • finally: cd /contrib/docker docker-compose run --rm superset ./docker-init.sh docker-compose up
Read more comments on GitHub >

github_iconTop Results From Across the Web

Incubator-superset container fails: exec user process caused ...
I've looked through the log, which states: standard_init_linux.go:207: exec user process caused "no such file or directory" . The container is ...
Read more >
How to fix “exec user process caused „no such file or directory ...
Let's fix this! Fixing the Error using dos2unix. Docker outputs all build steps when creating an image based on a Dockerfile. The “exec...
Read more >
How to fix "exec user process caused no such file or directory"
Another cause: incorrect line ends in the file. Linux expects LF s, and if your host is Windows, the script you want to...
Read more >
Fix Docker Error for exec user process caused "no such file or ...
Solution. Make sure all of the scripts that are being run in the container (this is especially true for entrypoint.sh ) ...
Read more >
How to fix "exec user process caused: no such file or directory ...
This article explains how to fix error "exec user process caused: no such file or directory" when running a Docker container.
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