-
Notifications
You must be signed in to change notification settings - Fork 39
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
--shell tests failing for specific commands #39
Comments
Another weird observation:
https://github.com/datastack-net/dockerized/runs/6093814155 |
Found a solution, although the observed behavior is still a big mystery.
Remaining questions:
|
boukeversteegh
added a commit
that referenced
this issue
Apr 20, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Most mysterious bug ever.
Expected:
dockerized --shell <command> -c env
should print the current environmentActual:
In some specific conditions, there is no output from the container at all, and dockerized just exits.
Observations:
bash
. Switching tosh
for--shell
fixes the bug.sh
is not a universal fix.rustc
usessh
and still doesn't work.docker system prune -af
won't help to reproduce it, running without a tty. (true | dockerized --shell perl -c env | cat
)docker-compose run --rm <command>
always seems to work.Hypothese (and motivation):
docker-compose run
anddockerized
echo helloworld
the first time didn't fix perl, but disabling TTY did. So TTY is involved.env
commandExcluded causes:
dockerized --pull
. Running this before the shell test doesn't make a difference.The text was updated successfully, but these errors were encountered: