Error with PHP
$ docker version
API version: 1.37
Go version: go1.9.4
Git commit: 0520e24302
Built: Fri Mar 23 08:31:36 2018
API version: 1.37 (minimum version 1.12)
Go version: go1.10.1
Git commit: f150324
Built: Wed May 9 22:20:42 2018
I am new to docker and trying it on as a work in my internship course. What i actually tried is to just create a simple php application,its corresponding compose and docker file as explained in this tutorial(https://perchrunway.com/blog/2017-01-19-getting-started-with-docker-for-local-development)
I have my docker file at C:\Program Files\Docker Toolbox\simple-docker\docker\webserver.
My php code at C:\Program Files\Docker Toolbox\simple-docker\www and my compose file at C:\Program Files\Docker Toolbox.Also i have created an empty folder db at C:\Program Files\Docker Toolbox\simple-docker(as instructed in tutorial) this is the snip of the output
The codes are as follows:
build: C:\Program Files\Docker Toolbox\simple-docker\docker\webserver
- C:/Program Files/Docker Toolbox/simple-docker
#code<?php echo "Hello world"; ?>
When I access browser with dockerip:80 it says “403:Forbidden”.
Please help me through this.I am on it for past 15 days!!