Windows 7 Docker-Tools 'cannot enable tty mode on non tty input'

http://docs.docker.com/mac/started/

So you are all excited to try Docker, you installed the Docker Toolbox, started the Docker Quick Start Terminal using the desktop shortcut.
Got through the hurdles of the creation of your default VM in virtual box - this can be hit or miss. Run the hello world image and it is all fine.
$docker run hello-world
Then you try to execute something more advanced like.
$docker run -it tomcat:8-jre8
and you are greeted with error message: 'cannot enable tty mode on non tty input'
At this point you may give up (not an option) or start googling - as docker is fairly well supported by the community - you find your way to here and find a solution buried in the comments.
$docker-machine ssh default
The command logs you on to the default VM in virtual box and now you can run commands like:
$docker run -it tomcat:8-jre8
and it works.

Comments

Popular posts from this blog

The biggest java security vulnerability of 2021