Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant start the project #6

Open
apuatcfbd opened this issue Nov 16, 2024 · 1 comment
Open

Cant start the project #6

apuatcfbd opened this issue Nov 16, 2024 · 1 comment

Comments

@apuatcfbd
Copy link

When trying to start. got following error:

docker compose -f "docker/docker-compose.yml" up -d setup elasticsearch kibana filebeat postgres pgadmin redis prometheus node-exporter alertmanager grafana
WARN[0000] /var/www/golang-clean-web-api/docker/docker-compose.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
WARN[0000] mount of type `volume` should not define `bind` option 
[+] Running 1/0
 ✔ Network docker_webapi_network     Created                                                                                          0.0s 
[+] Running 11/12er-alertmanager-1   Creating                                                                                         0.0s 
 ✔ Network docker_webapi_network     Created                                                                                          0.0s 
 ✔ Container docker-alertmanager-1   Started                                                                                          0.5s 
 ✔ Container redis_container         Started                                                                                          0.5s 
 ✔ Container postgres_container      Started                                                                                          0.4s 
 ✔ Container docker-node-exporter-1  Started                                                                                          0.4s 
 ⠦ Container elasticsearch           Starting                                                                                         0.7s 
 ✔ Container docker-prometheus-1     Started                                                                                          0.6s 
 ✔ Container docker-filebeat-1       Created                                                                                          0.1s 
 ✔ Container docker-kibana-1         Created                                                                                          0.1s 
 ✔ Container docker-setup-1          Created                                                                                          0.1s 
 ✔ Container pgadmin_container       Started                                                                                          0.5s 
 ✔ Container docker-grafana-1        Created                                                                                          0.0s 
Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/var/www/golang-clean-web-api/docker/elk/elasticsearch/config/elasticsearch.yml" to rootfs at "/usr/share/elasticsearch/config/elasticsearch.yml": mount /var/www/golang-clean-web-api/docker/elk/elasticsearch/config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml (via /proc/self/fd/6), 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

SystemInfo:
Ubuntu 24.04
Docker version 27.3.1, build ce12230

Am I missing something?

@naeemaei
Copy link
Owner

@apuatcfbd, Can you share docker-setup-1 and elasticsearch containers logs with me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants