I am trying to install software in my Docker container. But it is showing me the below error.
jenkins@f3460123b771:/root/.kube$ apt-get install apache2
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
How can I solve this error?