docker-dvwa icon indicating copy to clipboard operation
docker-dvwa copied to clipboard

[ERROR] MYSQL_HOSTNAME env variable is not set, but required

Open w0lfcat opened this issue 2 years ago • 1 comments

Thank you for the effort to create this image.

$ docker run --rm -itp 127.0.0.1:80:80 cytopia/dvwa
[ERROR] MYSQL_HOSTNAME env variable is not set, but required

I'm having a problem to run it. Do I need to setup a seperate mysql for this?

w0lfcat avatar Jun 14 '23 04:06 w0lfcat

Do I need to setup a seperate mysql for this?

Yes, or you can use the bundled Docker Compose setup, which already includes the MySQL container

cytopia avatar Jun 14 '23 12:06 cytopia