mirror of
https://github.com/bitnami/containers.git
synced 2026-04-04 16:27:46 +08:00
Fix minor typos, add clarification
Clarification about volumes removal
This commit is contained in:
@@ -79,11 +79,13 @@ If you remove every container all your data will be lost, and the next time you
|
||||
|
||||
For persistence of the Prestashop deployment, the above examples define docker volumes namely `mariadb_data` and `prestashop_data` and `apache_data`. The Prestashop application state will persist as long as these volumes are not removed.
|
||||
|
||||
To avoid inadvertent removal of these volumes you can [mount host directories as data volumes](https://docs.docker.com/engine/tutorials/dockervolumes/). Alternatively you can make use of volume plugins to host the volume data.
|
||||
|
||||
> **Note!** If you have already started using your application, follow the steps on [backing](#backing-up-your-application) up to pull the data from your running container down to your host.
|
||||
|
||||
### Mount host directories as data volumes with Docker Compose
|
||||
|
||||
This requires a sightly modification from the `docker-compose.yml` template previously shown:
|
||||
This requires a minor change to the `docker-compose.yml` template previously shown:
|
||||
```yaml
|
||||
version: '2'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user