We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm trying to execute sh in a container, but I get this error:
sh
$ udocker run --rm undu/imagemagick sh Error: command not found or has no execute bit set: ['sh']
with docker it work just fine (with --it I can input commands otherwise it finishes instantly)
However if I use its absolute path in the container it works fine:
$ udocker run --rm undu/imagemagick /bin/sh ****************************************************************************** * * * STARTING 2c2b0f42-8c5f-3a90-82aa-fcf8aba1a5b3 * * * ****************************************************************************** executing: sh 2c2b0f42[]$ echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
As you can see, /bin is also in PATH, other tools in the path (but a different folder) work without needed the absolute path:
/bin
$ udocker run --rm undu/imagemagick convert --version ****************************************************************************** * * * STARTING 224d472e-5338-3052-97c2-c191b231f504 * * * ****************************************************************************** executing: convert Version: ImageMagick 7.0.5-10 Q16 x86_64 2017-06-05 http://www.imagemagick.org Copyright: © 1999-2017 ImageMagick Studio LLC License: http://www.imagemagick.org/script/license.php Features: Cipher HDRI Modules Delegates (built-in): fontconfig freetype gslib jng jpeg lcms ltdl png ps tiff webp xml zlib
which doesn't work either, it's located in /usr/bin/which, same folder as convert
/usr/bin/which
convert
Any ideas on what might be happening? Maybe I shouldn't expect it to work like docker?
The text was updated successfully, but these errors were encountered:
Hi, No its a bug, fixed on devel branch. Many thanks !
Sorry, something went wrong.
Thanks for the fast response and fix 👍
regression test and log for #89
e5ccc52
"No its a bug, fixed on devel branch."
@jorge-lip could you point to the commit that solves this issue, because I still have it with v1.3.7...
No branches or pull requests
I'm trying to execute
sh
in a container, but I get this error:with docker it work just fine (with --it I can input commands otherwise it finishes instantly)
However if I use its absolute path in the container it works fine:
As you can see,
/bin
is also in PATH, other tools in the path (but a different folder) work without needed the absolute path:which doesn't work either, it's located in
/usr/bin/which
, same folder asconvert
Any ideas on what might be happening?
Maybe I shouldn't expect it to work like docker?
The text was updated successfully, but these errors were encountered: