How to solve “cannot create directory – Permission denied” error on a docker container? Alin Alexandru August 12, 2019 Docker Maybe you are familiar with the next error mkdir: cannot create directory ‘/bitnami/mariadb’: Permission denied or not.