docker
docker copied to clipboard
Console will not open after running a script file
Sometimes you should have access to Tarantool console after your script file has finished. Now it does not fall to console after, for example, CMD ["tarantool", "/opt/tarantool/init.lua"]
. Would an option or a specific argument be sufficient in this case?
Add check for tty
and if <console> is running
after the end of the script
Discussed voicelly that docker run -i
should behaves like tarantool -i
, that is why @opomuc proposes the approach it propose :) Just for clarity.