I want login with docker through php.
I have tried with below command in php.
$content = system('sudo docker exec -it 8a3d7166d18d bash ;', $ret);
But it is giving below error:
the input device is not a TTY
It works perfectly through terminal in ubuntu. But not working that file in browser.