Skip to content

anir0y/vwa_docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Status:

Docker Image CI

VWA Lab for Classroom Training

this lab is designed and developved by @anir0y this is a way to teach students about common mistakes made by devs

setting up local web-application server

1 : setting up LAMP stack

LAMP stack is stands for:

  • Linux
  • Apache (apache2)
  • MySQL (db)
  • Php (scripting Lang.)

Docker

docker pull anir0y/vwa
Using default tag: latest
latest: Pulling from anir0y/vwa
...
Status: Downloaded newer image for anir0y/vwa:latest
docker.io/anir0y/vwa:latest

# verify
docker images                    
REPOSITORY   TAG       IMAGE ID       CREATED          SIZE
anir0y/vwa   latest    015c231e4df8   19 minutes ago   719MB

# run the app
docker run -d -p 80:80 anir0y/vwa

Local Build

docker build -t vwalocal .
docker run -p 80:80 vwalocal

check https://dashboard.ngrok.com/tunnels/agents agents page to get the URL for ngrok

Talk to me