Repository implementation
Two core concepts are conveyed in the vanilla example: 1) how to build your own docker from Dockerfile, and 2) how to mount a volume inside of a docker.
Install apache , PHP, Docker, mysqli and net-tools.
git init
git status
touch file
git add file
git commit -m" "
git log
git pull origin master
git push -u origin master
docker run --rm
-p 80:80
--name visit-counter
test/visit-counter
docker run --rm
-p 80:80
--name php
-v "$PWD/scripts":/var/www/html
php:7.0-apache
docker run --rm
-p 80:80
--name visit-counter
-v "$PWD/scripts":/var/www/html
test/visit-counter
Here is the link for the hit counter that you can use: http://justintadlock.com/web-design/counter.
Docker image extended from https://hub.docker.com/_/php/