I have installed a lemp docker container w/ Ubuntu 16.04, Nginx, Mariadb, & PHP 7.0, and have set up postfix and basic ssh capabilities that all work fine. I have created a non-root user with sudo privileges (in the sudo group), but when I try to use sudo I get the error
sudo: no tty present and no askpass program specified
This happens for sudo, sudo -s, sudo su, etc.
I have gone into the /etc/sudoers file with visudo and added a line saying me ALL=(ALL) NOPASSWD: ALL since some other places suggested this, but it hasn't fixed the issue. Does anyone know a solution?