Skip to content

Container image entry point #38811

Open
Open
@astoff

Description

@astoff

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 "$*"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions