Skip to content
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

Container image entry point #38811

Open
astoff opened this issue Oct 13, 2024 · 0 comments
Open

Container image entry point #38811

astoff opened this issue Oct 13, 2024 · 0 comments

Comments

@astoff
Copy link

astoff commented Oct 13, 2024

I would expect to be able to say e.g., podman run --rm -it sagemath/sagemath python -c 'print(1)', but unfortunately one must escape the arguments like this: podman run --rm -it sagemath/sagemath python3 -c 'print\(1\)'. (Of course in practice I want to pass a slightly more complicated command ;-)).

This is probably due to the following line using $* instead of $@:

exec sage -sh -c "$*"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants