I have my Image and when i run docker with the below command
**docker run --security-opt=no-new-privileges --security-opt apparmor=docker-default --userns host --restart=always -d -p 172.20.222.112:8105:8105/tcp \**
**--name mosambee_live \**
**-v /etc/localtime:/etc/localtime:ro \**
**-v /app/docker_logs/mpos/tomcat/:/usr/local/apache-tomcat-9.0.84/logs \**
**-v /app/docker_logs/mpos/mposlogs/:/usr/local/mposLogs/ mosambeelive**
and i get permission denied error can anyone suggest a wat forward for this.
> [softpos@uatsoftposapp1 docker-mosambeelive]$ cat /etc/docker/daemon.json
**> **
> {
> “icc”: false,
> “tls”: true,
> “tlsverify”: true,
> “tlscacert”: “/etc/docker/ssl/ca.pem”,
> “tlscert”: “/etc/docker/ssl/daemon-cert.pem”,
> “tlskey”: “/etc/docker/ssl/daemon-key.pem”,
> “live-restore”: true,
> “selinux-enabled”: false,
> “userland-proxy”: false,
> “default-ulimit”: “nofile=50:100”,
> “default-ulimit”: “nproc=1024:2048”,
> “hosts”: [“unix:///var/run/docker.sock”,“tcp://127.0.0.1:2376”]
> }