Skip to content

This is a docker images of Ubuntu 16.04 LTS with apache2 and php7

Notifications You must be signed in to change notification settings

nimmis/docker-apache-php7

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Apache2 with php7 on Ubuntu 16.04 LTS

This is a docker images with Ubuntu 16.04 LTS with apache2 and php7/composer

To access site contents from utside the container you should map /var/www

Includes composer for easy download of php libraries

Examples

  • plain, accessable on port 8080 docker run -d -p 8080:80 nimmis/apache-php7
  • with external contents in /home/nimmis/html docker run -d -p 8080:80 -v /home/nimmis/html:/var/www/html nimmis/apache-php7

The docker container is started with the -d flag so it will run inte the background. To run commands or edit settings inside the container run `docker exec -ti /bin/bash'

About

This is a docker images of Ubuntu 16.04 LTS with apache2 and php7

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published