dmarc-visualizer icon indicating copy to clipboard operation
dmarc-visualizer copied to clipboard

ERROR: Cannot locate specified Dockerfile: Dockerfile

Open andriesh opened this issue 4 years ago • 4 comments

I'm trying to spinup this docker compose file but I get this error:

# docker-compose up
Pulling elasticsearch (docker.elastic.co/elasticsearch/elasticsearch:7.9.1)...
7.9.1: Pulling from elasticsearch/elasticsearch
f1feca467797: Pull complete
dcfca94e7428: Pull complete
d2bf8b28bdf5: Pull complete
5efd10fdc328: Pull complete
71948c71bf56: Pull complete
3d79fd8021d0: Pull complete
3561742200e5: Pull complete
2811408f56d0: Pull complete
cb5a557b51ee: Pull complete
Digest: sha256:0a5308431aee029636858a6efe07e409fa699b02549a78d7904eb931b8c46920
Status: Downloaded newer image for docker.elastic.co/elasticsearch/elasticsearch:7.9.1
Building parsedmarc
ERROR: Cannot locate specified Dockerfile: Dockerfile

andriesh avatar Jul 29 '21 09:07 andriesh

This might be a problem with rights. Try Chmodding the directory and files. You might also consider to specify a more recent ES Version though this shouldn't be the issue here

supaeasy avatar Jul 29 '21 10:07 supaeasy

This might be a problem with rights. Try Chmodding the directory and files. You might also consider to specify a more recent ES Version though this shouldn't be the issue here

root@proton:/opt/docker/docker-dmarc# ls -l
total 12
-rw-rw-rw- 1 root root  588 Jul 29 09:15 docker-compose.yml
drwxrwxrwx 2 root root 4096 Jul 29 08:59 grafana
drwxrwxrwx 2 root root 4096 Jul 29 08:59 parsedmarc
root@proton:/opt/docker/docker-dmarc# docker-compose up
Building parsedmarc
ERROR: Cannot locate specified Dockerfile: Dockerfile

andriesh avatar Jul 29 '21 11:07 andriesh

Did you download everything in this repo? Is the File "Dockerfile" in your parsedmarc directory?

supaeasy avatar Aug 02 '21 11:08 supaeasy

And if that is not the issue, maybe, just maybe an old docker version? Since I am not the best programmer myself and tend to forget a lot of stuff I only work on once, I wrote a very detailed step-by-step for my needs on Raspberry. If you are on another machine or a Repo other than Ubuntu, The only difference would be the arm64 arch and repo config that you would have to adjust to your needs I assume: https://github.com/supaeasy/dmarc-visualizer#readme

supaeasy avatar Aug 02 '21 11:08 supaeasy