1
resposta

[Bug] docker-compose

Ao rodar docker-compose up -d aparece:


Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/host_mnt/Users/higormiranda/Downloads/prometheus-grafana/nginx/nginx.conf" to rootfs at "/etc/nginx/nginx.conf": mount /host_mnt/Users/higormiranda/Downloads/prometheus-grafana/nginx/nginx.conf:/etc/nginx/nginx.conf (via /proc/self/fd/14), flags: 0x5000: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type
1 resposta

Faça um:


$ sudo systemctl daemon-reload
$ sudo systemctl restart docker

Para reiniciar os serviços do docker