This is related to a previous question-
Under Ubuntu 12.04 when I run any docker command like:
sudo docker pull ubuntu
The focus is los
Are you sure you followed all of the Docker install instructions, like setting up the right kernel? http://docs.docker.io/en/latest/installation/ubuntulinux/
If it doesn't work right then something in your configuration is interfering. If we can't figure out what it is you can always just install Mint or run Docker in Virtual Box or something.
Is it possibly related to this https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/975227