|
|
@@ -32,15 +32,15 @@ When first accessing the webserver provided by this image, it will go through a
|
|
|
$ docker run --name some-%%REPO%% --link some-mysql:mysql -d %%REPO%%
|
|
|
```
|
|
|
|
|
|
-- Database type: `MySQL, MariaDB, or equivalent`
|
|
|
-- Database name/username/password: `<details for accessing your MySQL instance>` (`MYSQL_USER`, `MYSQL_PASSWORD`, `MYSQL_DATABASE`; see environment variables in the description for [`mariadb`](https://registry.hub.docker.com/_/mariadb/))
|
|
|
-- ADVANCED OPTIONS; Database host: `mysql` (for using the `/etc/hosts` entry added by `--link` to access the linked container's MySQL instance)
|
|
|
+- Database type: `MySQL, MariaDB, or equivalent`
|
|
|
+- Database name/username/password: `<details for accessing your MySQL instance>` (`MYSQL_USER`, `MYSQL_PASSWORD`, `MYSQL_DATABASE`; see environment variables in the description for [`mariadb`](https://registry.hub.docker.com/_/mariadb/)\)
|
|
|
+- ADVANCED OPTIONS; Database host: `mysql` (for using the `/etc/hosts` entry added by `--link` to access the linked container's MySQL instance)
|
|
|
|
|
|
## Volumes
|
|
|
|
|
|
By default, this image does not include any volumes.
|
|
|
|
|
|
-The paths `/var/www/html/images` and `/var/www/html/LocalSettings.php` are things that generally ought to be volumes, but do not explicitly have a `VOLUME` declaration in this image because volumes cannot be removed.
|
|
|
+The paths `/var/www/html/images` and `/var/www/html/LocalSettings.php` are things that generally ought to be volumes, but do not explicitly have a `VOLUME` declaration in this image because volumes cannot be removed.
|
|
|
|
|
|
```console
|
|
|
$ docker run --rm %%REPO%% tar -cC /var/www/html/sites . | tar -xC /path/on/host/sites
|
|
|
@@ -58,5 +58,5 @@ If you need additional PHP extensions, you'll need to create your own image `FRO
|
|
|
|
|
|
The following Docker Hub features can help with the task of keeping your dependent images up-to-date:
|
|
|
|
|
|
-- [Automated Builds](https://docs.docker.com/docker-hub/builds/) let Docker Hub automatically build your Dockerfile each time you push changes to it.
|
|
|
-- [Repository Links](https://docs.docker.com/docker-hub/builds/#repository-links) can ensure that your image is also rebuilt any time `%%REPO%%` is updated.
|
|
|
+- [Automated Builds](https://docs.docker.com/docker-hub/builds/) let Docker Hub automatically build your Dockerfile each time you push changes to it.
|
|
|
+- [Repository Links](https://docs.docker.com/docker-hub/builds/#repository-links) can ensure that your image is also rebuilt any time `%%REPO%%` is updated.
|