Ubuntu – root password in docker is valid but says it's wrong when prepending sudo
In my ubuntu docker container, if I run su - root and input my password i'm successfully logged in as root but if I run a command for instance sudo apt install <package> it tells me my password is invalid.…