git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
| #----------------------------------------------------------------------- | |
| # To create the docker image : | |
| # cd <this file directory> | |
| # docker build -t apache-php-dev . | |
| # | |
| # Start image : | |
| # docker run -d -p 80:80 -v /home/user/public_html:/var/www/html apache-php-dev | |
| # | |
| # Open browser : | |
| # http://localhost |