Docker Community Forums

Share and learn in the Docker community.

Mkdir /data/tls: permission denied


[root@ip-172-31-31-223 laradock]# docker version
 Version:         1.13.1
 API version:     1.26
 Package version: docker-1.13.1-102.git7f2769b.el7.centos.x86_64
 Go version:      go1.10.3
 Git commit:      7f2769b/1.13.1
 Built:           Mon Aug  5 15:09:42 2019
 OS/Arch:         linux/amd64

AWS contos7
docker-compose up -d portainer && docker ps && docker logs 76404341fae4
Error :

mkdir /data/tls: permission denied

thanks in advance.

Please share your docker-compose.yml and the permission mask and ownership of the host folder you map into the container /data folder.