Docker container with Ubuntu 16.04 LTS and apache2
915
= Docker container with Apache2
This repository contains configurations to create a Docker container with:
== Getting Started
=== Prerequisites
You have to install Docker and Docker Compose (optional) to build and run this container.
=== Pull container
You can download this container from DockerHub by launching this command :
It will download the latest version.
=== Run container
==== Prerequisites
Firstly, you have to plug a PHP project. To do that, you need to create a data volume between host and docker container:
After, you can change:
==== Running
You can use docker-compose.yml:
It will run your container with parameters specified in the file.
OR
You can use docker run command:
=== Test your project
Open in your browser this URL http://localhost:80
OR
Consult Docker container logs
OR
Go into the Docker container
== Author
Louis Paret - [email protected]
Content type
Image
Digest
Size
175.1 MB
Last updated
almost 9 years ago
docker pull lparet/docker-ubuntu-apache2