DEBU[0000] [hijack] End of stdout

Hi!

I cannot run an image from dockerhub. It silently exists doing absolutely nothing.

$ docker run -it -v $(pwd):/build avivace/iosevka-build

If I run it with -D flag, it prints just one message:

$ docker -D run -it -v $(pwd):/build avivace/iosevka-build
DEBU[0000] [hijack] End of stdout

What does it mean? Why there is no other output?
I should say that yesterday it was running fine.
This is very frustrating.

Docker version 20.10.14, build a224086
OS: Linux Kubuntu 20.04

It means what “Hans Kilian” answered you here: Docker exists with message: "DEBU[0000] [hijack] End of stdout" - Stack Overflow

You should handle file permissions in the Dockerfile and not relying on the permissions you set on the host before Docker build. “run.sh” is not executable:

root@30dc80c07bc0:/# ls -lahs run.sh
4.0K -rw-r--r-- 1 root root 1.9K Nov 26  2020 run.sh

EDIT:

While the above is true, you run “run.sh” as a parameter of “bash” so it could work, but it cannot get through the condition at the beginning. Try set -ex instead of just set -e and you will see where the script stops.

It doesn’t contain the -L flag for curl, which you already know, because your question is older than your last modification. I just noticed that.

Please, always share when you find the solution so we don’t spend hours on finding it again :slight_smile: