This repository contains all you need to build a DVWA docker image.
Sys: Debian 10
PHP: 7.3
DVWA: 1.10 (Development) Updated in Jun. 2021
You can directly download the image I have builded in "Releases".
Use the following conmmonds:
sudo docker load < web_dvwa_image.tar
sudo docker run -p 80:80 web_dvwa
Just replace the "dvwa" folder with the new one published on DVWA Official.
Maybe you also have to change the copy direction of "php.ini" in Dockerfile because each version of PHP7 create its own config folder.