This repo is sample dockerfile based on debian.
- Debian
- Apache
- PHP 7.0
build latest version:
docker build -t benit/debian-web . --build-arg http_proxy=$http_proxy
or tag it:
docker build -t benit/debian-web . --build-arg http_proxy=$http_proxy --tag benit/debian-web:1.0.0
docker run --name debian-web --rm -p 8080:80 -d benit/debian-web:latest
docker container exec -it debian-web /bin/bash
docker container stop debian-web
or stop all running containers:
docker stop `docker ps -a -q`