docker icon indicating copy to clipboard operation
docker copied to clipboard

Console will not open after running a script file

Open opomuc opened this issue 7 years ago • 2 comments

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?

opomuc avatar Sep 26 '17 13:09 opomuc

Add check for tty and if <console> is running after the end of the script

opomuc avatar Sep 26 '17 14:09 opomuc

Discussed voicelly that docker run -i should behaves like tarantool -i, that is why @opomuc proposes the approach it propose :) Just for clarity.

Totktonada avatar Sep 27 '17 02:09 Totktonada