Enter a shell to submit custom arguments to sbcl?
fosskers opened this issue · 2 comments
fosskers commented
Rather than have the container immediately enter the sbcl REPL, I was hoping to run sbcl --eval "..."
and have it do something simple and then exit. Unfortunately I couldn't figure out how to do this; it would always enter the REPL interactively.
Do you know how to do what I'm attempting?
fukamachi commented
It's the same as sbcl
command.
$ docker run --rm -it fukamachi/sbcl --eval '(print (lisp-implementation-version))' --quit
2.4.4
fosskers commented
Confirmed. Thank you!