title: Is there a way to switch from a rootless user to a root user in a Docker container
body: <p>I created a RHEL 7 Docker container using the Dockerfile USER instruction to create a rootless user.
  I can exec into the container, issue the whoami command and I can identify myself as that non-root user.
  However, I cannot execute any root-equivalent command i.e. yum update because it prompts me for the root password. When I sudo or su - it prompts me for the root password even though I never assigned a password to root.</p>
  <ol>
  <li><p>Why is the system prompting me for a root password if I never created one? So I can elevate my rights and execute priviledge commands?</p>
  </li>
  <li><p>Can you switch from a rootless user to root in a container that was created with a rootless user?</p>
  </li>
  </ol>