- Update your
docker-compose.ymlwith the one below - Create a
srcfolder in the same directory as yourdocker-compose.yml - Download a any
phpfile into yoursrcdirectory - Go to
localhost:8080/your-php-file.php
- In your
terminalrundocker-compose up - In your
src/directory copy myindex.phpfile contents and put them in aindex.phpfile in yoursrc/directory - Should look like this
src/index.php - Go to
localhost:8080in your browser; it might be blank if you don't have any other.phpfiles in this directory
- Update the
docker-compose.ymlto pull a new built imagemaybach/ds3:09.14.16.6 - Mount your file system
src/file to the image - Update
README.md
- Url: https://hub.docker.com/r/maybach/ds3/
- OS: Debia:Jessie (8)
- PHP/SERVER: HHVM/Proxygen
how do you create a docker-compose.yml file?