Closed lmeyerov closed 4 years ago
First try passing your config file to the Amass container to see if you get a different result. Since Amass automatically looks for the config file within the database directory specified with the -dir
flag, you can put your config file in /home/ubuntu/graphistry/.notebooks/amass/data
on your host and adjust your docker one-liner to look something like this...
$ cp config.ini /home/ubuntu/graphistry/.notebooks/amass/data
$ docker run -v /home/ubuntu/graphistry/.notebooks/amass/data:/amass/ caffix/amass:latest enum -dir /amass -src -log /amass/zz.err.log
You can also take it a step further if you think there is something wrong with the container image and use docker to build a fresh container on your host machine.
$ cd ~/Amass
$ docker build -t amass-local .
$ cp config.ini /home/ubuntu/graphistry/.notebooks/amass/data
$ docker run -v /home/ubuntu/graphistry/.notebooks/amass/data:/amass/ amass-local enum -dir /amass -src -log /amass/zz.err.log
Pass 1: re:config, yep, it was already there
Pass 2: fresh container, I was using the one on dockerhub, just cleaned and reran:
docker ps -a | awk '{ print $1,$2 }' | grep amass | awk '{print $1 }' | xargs -I {} docker rm {}
docker image rm caffix/amass
docker run -v /home/ubuntu/graphistry/.notebooks/amass/data:/amass/ caffix/amass:latest enum -config /amass/config.ini -src -log /amass/zz.err.log
Same thing
Happy to try an older tag, tho looks like all from same day on https://hub.docker.com/r/caffix/amass/tags
Has this problem been fixed for you in Amass v3.1.6?
We've been slammed with a few things -- will check next time we're on this stuff (1-2w?), lmk if would be useful to prioritize higher
When I run a command through Docker (
:latest
), I see a bunch ofx509: certificate signed by unknown authority
:Yet when run directly (via
snap
install) on the same command, it works.Repros:
Docker
Snap
config.ini:
Some googling suggests this may be some funny docker alpine / go issue, but pretty unclear.