opsxcq/exploit-CVE-2014-6271

cannot run docker

madneal opened this issue · 2 comments

apache2: Could not reliably determine the server's fully qualified domain name, using 172.17.0.X for ServerName

To solve this issue you could run the docker with the option --hostname with a fully qualified domain name.
docker run --rm --hostname=server.local -it -p 8080:80 vulnerables/cve-2014-6271

I'm running Docker on Windows and got the same error on the latest Docker (3.x) version.
I had to downgrade to 2.1.0.1 (37199), Docker Engine 19.03.1 to get it to work.
Also modified the command line to:
docker run --hostname=server.local --rm -p 8085:80 vulnerables/cve-2014-6271