Docker4drupal: RROR: Unable to lock database: Permission denied ERROR: Failed to open apk database: Permission denied

Created on 18 Nov 2017  路  1Comment  路  Source: wodby/docker4drupal

How to install package in the docker4drupal container e.g. the nginx container. I tried the apk add ru y, it fails with permission denied. What's the user name and password or what's the default password for root user? thanks.

Most helpful comment

Hi,
you should try this

docker-compose exec --user=root --privileged nginx sh

nginx is name of the container, you may have to change that. This is working for me.

>All comments

Hi,
you should try this

docker-compose exec --user=root --privileged nginx sh

nginx is name of the container, you may have to change that. This is working for me.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rsanzante picture rsanzante  路  7Comments

webdobe picture webdobe  路  5Comments

pulasthibandara picture pulasthibandara  路  6Comments

quietone1 picture quietone1  路  10Comments

LordFransie picture LordFransie  路  3Comments