Sign inSign up

sumitraina/pi0-bwapp

By sumitraina

Updated almost 6 years ago

This is just an instance of the OWASP bWAPP as a docker container for raspberry pi.

Image
0

966

sumitraina/pi0-bwapp repository overview

rpi-bWAPP

bWAPP

This is just an instance of the OWASP bWAPP project as a docker container for raspberry pi.

The container is based on resin/rpi-raspbian with reference taken from tutum/lamp

To run the container

docker run -d -p 80:80 sumitraina/pi0-bwapp

and you should be able to go to /install.php to set up your instance.

docker compose file

Create a file named docker-compose.yml and add the below text. Then run docker-compose up --detach command to start the container. This will add a volume to container and save your progress.

version: "3"

#Run command docker-compose up --detach 
services:
  pibwapp:
    container_name: pi0-bwapp
    image: sumitraina/pi0-bwapp:latest
    ports:
      - "80:80"
      - "3306:3306"
    # Volumes to store your data
    volumes:
      - './etc/mysql:/etc/mysql'
      - './var/lib/mysql:/var/lib/mysql'

Usage

To create your own image rpi/bwapp, execute the following command on the current folder:

docker build -t rpi/bwapp .

Running your bWAPP docker image

Start your image binding the external ports 80 and 3306 in all interfaces to your container:

docker run -d -p 80:80 -p 3306:3306 rpi/bwapp

Tag summary

Content type

Image

Digest

Size

131.7 MB

Last updated

almost 6 years ago

docker pull sumitraina/pi0-bwapp