I'm fairly new to Docker, so please bear with me.
I need to understand how to write a Dockerfile that can run an interactive application, such as mysql_secure_installation (which allows the user to change root's password and indicate if the privilege tables should be flushed, for example).
PS: I know how to do the same when the application does not require interaction, as explained here.