Report this

What is the reason for this report?

How can I unzip a file in a mongodb container installed using helm in a DO K8 cluster ?

Posted on February 15, 2020

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 ?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.