Alpine Docker ERROR: Unable to lock database: Permission denied ERROR: Failed to open apk database: Permission denied
For those seeing this error using a Dockerfile (and coming here via a Google search): add the following line to your Dockerfile: USER root