Can't read user input inside the Docker using Maven plugin
It is not possible with docker-maven-plugin. See this.
I also agree with rhuss (last comment in the link) as well. You are using maven which is a build tool and then starting containers which will probably help you in some way to build-test something. Also, if you refer to this section in docker documentation, it says
Specifying -t is forbidden when the client standard output is redirected or piped
which probably a build plugin will do.