Damn Vulnerable Web Application based off of tutum/lamp (ubuntu-lamp image)
545
This will start up MySQL within the container but you have the option to provide it with a different DB server name
docker run -p 80:80 -p 3306:3306 -d --name my-container-name toneloc01/dvwa
App will use these default params:
db_server=localhost
db_name=dvwa
db_user=admin
db_password=
If you supply this param you don't need -p 3306:3306 (that will be added to the MySQL container) also use the link param when starting this container (ex. --link mysqldb)
-e MYSQL_DBSERVER=server-ip-and-port
-e MYSQL_DBNAME=db-name
-e MYSQL_USERNAME=username
-e MYSQL_PASSWORD=password
Content type
Image
Digest
Size
156.4 MB
Last updated
over 10 years ago
docker pull toneloc01/dvwa