Merge ~valentinviennot/ubuntu-docker-images:update-apache2-readme into ~ubuntu-docker-images/ubuntu-docker-images/+git/apache2:readme

Proposed by Valentin Viennot
Status: Merged
Merge reported by: Sergio Durigan Junior
Merged at revision: 6de0866b993a1116530d4a3a32265d99466a3eaf
Proposed branch: ~valentinviennot/ubuntu-docker-images:update-apache2-readme
Merge into: ~ubuntu-docker-images/ubuntu-docker-images/+git/apache2:readme
Diff against target: 44 lines (+7/-9)
1 file modified
README.md (+7/-9)
Reviewer Review Type Date Requested Status
Sergio Durigan Junior Approve
Richard Harding Pending
Review via email: mp+393902@code.launchpad.net

Description of the change

Consistency fixes, removed unused network.

To post a comment you must log in.
Revision history for this message
Sergio Durigan Junior (sergiodj) wrote :

I've made some modifications to my branch after you proposed this MP. Would you like to review the current README (which is already merged into the edge branch) and see if you have more corrections to suggest?

6de0866... by Valentin Viennot <email address hidden>

clean

Revision history for this message
Valentin Viennot (valentinviennot) wrote :

> I've made some modifications to my branch after you proposed this MP. Would
> you like to review the current README (which is already merged into the edge
> branch) and see if you have more corrections to suggest?

Done it!

Revision history for this message
Sergio Durigan Junior (sergiodj) wrote :

LGTM, thanks.

review: Approve
Revision history for this message
Sergio Durigan Junior (sergiodj) wrote :

This has been merged to the edge branch:

6de0866b993a1116530d4a3a32265d99466a3eaf

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
diff --git a/README.md b/README.md
index 7d91297..45f937b 100644
--- a/README.md
+++ b/README.md
@@ -2,9 +2,7 @@
22
3## About Apache23## About Apache2
44
5The Apache HTTP Server Project's goal is to build a secure, efficient and extensible HTTP server as standards-compliant open source software. The result has long been the number one web server on the Internet.5The Apache HTTP Server Project's goal is to build a secure, efficient and extensible HTTP server as standards-compliant open source software. The result has long been the number one web server on the Internet. Read more on the [apache2 website](https://httpd.apache.org/).
6
7Read more on the [apache2 website](https://httpd.apache.org/).
86
9## Tags7## Tags
108
@@ -19,7 +17,7 @@ Read more on the [apache2 website](https://httpd.apache.org/).
19### Docker CLI17### Docker CLI
2018
21```19```
22$ docker run -d --name apache2 -p 8080:80 squeakywheel/apache2:edge20$ docker run -d --name apache2 -p 8080:80 -e TZ=Europe/London squeakywheel/apache2:edge
23```21```
2422
25You can now point your browser to http://localhost:8080/ and verify that it works.23You can now point your browser to http://localhost:8080/ and verify that it works.
@@ -28,14 +26,14 @@ You can now point your browser to http://localhost:8080/ and verify that it work
2826
29| Parameter | Description |27| Parameter | Description |
30|---|---|28|---|---|
31| `-e TZ=UTC` | Timezone, e.g. `Europe/London` |29| `-e TZ=UTC` | Timezone. |
32| `-v /local/path/to/website:/var/www/html` | Mount and serve a local website |30| `-v /local/path/to/website:/var/www/html` | Mount and serve a local website. |
33| `-v /my/config/apache2.conf:/etc/apache2/apache2.conf` | Mount a local configuration `apache2.conf` |31| `-v /my/config/apache2.conf:/etc/apache2/apache2.conf` | Mount a local configuration `apache2.conf`. |
34| `-v /local/path/to/website.conf:/etc/apache2/sites-enabled/website.conf` | Mount and serve a local website, usually as a `VirtualHost` |32| `-v /local/path/to/website.conf:/etc/apache2/sites-enabled/website.conf` | Mount and serve a local website, usually as a `VirtualHost`. |
3533
36#### Testing/Debugging34#### Testing/Debugging
3735
38In case you need to debug what it is happening with the container you can run `docker logs <name_of_the_container>`. But if you want to get access to an interactive shell run:36In case you need to debug what is happening with the container you can run `docker logs <name_of_the_container>`. To get access to an interactive shell run:
3937
40```38```
41$ docker exec -it <name_of_the_container> /bin/bash39$ docker exec -it <name_of_the_container> /bin/bash

Subscribers

People subscribed via source and target branches