Ubuntu n00b here. I am tinkering with a Docker container that I created using the following simple Dockerfile:
FROM ubuntu
CMD ["tail","-f","/dev/null"]
Inside the container, as the root user, I try running visudo
and get the following response:
bash: visudo: command not found
I ran ls /etc
and it seems I don't have a sudoers file either.
Is there something special I should have put in my Dockerfile to make these exist?