How can I unzip a file in a mongodb container installed using helm in a DO K8 cluster ?
I was able to copy the mongodb dump zip file on to the pod but I am not able to unzip it.
I tried to install unzip package but apt-get is throwing an error:
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?
And is there way to get root access to the pod shell ?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×