Based on https://hub.docker.com/r/ajbisoft/debian8_lap/ rpi apache2+php5 server
10K+
Based on https://hub.docker.com/r/ajbisoft/debian8_lap/
Raspbian + apache2 + php5 docker image with some customization:
mkdir <path_to_your_datadir>/public
git pull <path-to-your-repo-git>
cd <path-to-your-folder-git>/src
cp -R ./ <path_to_your_datadir>/public
There are two main run-time settings that may need to be passed to newly created container from this image:
-p 80:80 to your docker run statement-v <path_to_your_datadir>:/var/www/ to your docker run statementdocker build -t <the-tag-you-want> ./To successfully start a new container using this image please specify port (here port 80) and volume options as in following example:
docker run -dp 80:80 -v <path_to_your_datadir>:/var/www/ --name <your-app-name> hbaltz/rpi-lap
This docker image is best suited for simple PHP applications that do not require database backend. It works well not only with simple PHP websites, but also with ie. Laravel framework (just mount your project under /var/www).
Content type
Image
Digest
Size
66.1 MB
Last updated
over 9 years ago
docker pull hbaltz/rpi-lap