domainaware / parsedmarc

A Python package and CLI for parsing aggregate and forensic DMARC reports
https://domainaware.github.io/parsedmarc/
Apache License 2.0
994 stars 213 forks source link

service parsedmarc' failed to build: COPY failed #442

Open HardTarget411 opened 10 months ago

HardTarget411 commented 10 months ago

When install dmarc-visualizer, I get the following error.

Error: Service 'parsedmarc' failed to build: COPY failed: file not found in the build context or excluded by .dockerignore: stat parsedmarc.ini: file does not exist

Installed on vanilla ubuntu 20.04. Here is the video I followed: https://www.youtube.com/watch?v=a9CUTfzADLQ

Instructions: Run each of these lines one at a time

########### Installing Docker on Ubuntu

sudo apt update

sudo apt install apt-transport-https ca-certificates curl software-properties-common

curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -

sudo apt-key fingerprint 0EBFCD88

sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"

sudo apt update

apt-cache policy docker-ce

sudo apt install docker-ce

sudo systemctl status docker

############ Install Docker compose

sudo curl -L "https://github.com/docker/compose/releases/download/1.26.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose

sudo chmod +x /usr/local/bin/docker-compose

docker-compose --version

############ Running Hello World sudo docker run hello-world

############ Running the YML file

sudo docker-compose up -d sudo docker-compose up

AnaelMobilia commented 10 months ago

Hello @HardTarget411 ,

It looks like parsedmarc configuration file haven't been set-up. As the issue is on the dmarc-visualizer installation, I suggest you to open an issue on their repo -> https://github.com/debricked/dmarc-visualizer .

Regards,

HardTarget411 commented 10 months ago

@AnaelMobilia hate to sound like a noobie, how do I set up the config file. I didn't see anything on that in the instructions

AnaelMobilia commented 10 months ago

@HardTarget411

You can found information on the documentation => https://domainaware.github.io/parsedmarc/usage.html#configuration-file

It looks like you could have another issues with dmarc-visualizer => https://github.com/debricked/dmarc-visualizer/issues/46 . I suggest that you open an issue on their repo as the issue occur with their dockerized installation. Regards