Docker Compose Examples
This repository provides some Docker Compose Examples.
Docker Manual: Manage data in Docker
Docker has two options for containers to store files on the host machine, so that the files are persisted even after the container stops: volumes, and bind mounts.
The following examples provide setups for:
- Volumes
Volumes are the preferred mechanism for persisting data generated by and used by Docker containers. They are completely managed by Docker.
- Bind Mounts
Data is stored in a directory on the host machine, which is mounted into the container.
Example docker-compose.yml
- Volumes: Local PostgreSQL Server | pgAdmin
- Bind Mounts: Local PostgreSQL Server | pgAdmin
Example docker-compose.yml
- Volumes: Local cubeSQL Server | cubeSQL Web Admin
- Bind Mounts: Local cubeSQL Server | cubeSQL Web Admin
Example docker-compose.yml
- Volumes: Local MariaDB | phpMyAdmin
- Bind Mounts: Local MariaDB | phpMyAdmin
Example docker-compose.yml
- Volumes: Local Microsoft SQL Server | Adminer
- Bind Mounts: Local Microsoft SQL Server | Adminer
Example Shell Scripts
docker-volume-cp.sh
Copy Data from Host to Docker Volume | Copy Data from Docker Volume to Host
Juerg Otter is a long term user of Xojo and working for CM Informatik AG. Their Application CMI LehrerOffice is a Xojo Design Award Winner 2018. In his leisure time Juerg provides some bits and pieces for Xojo Developers.
Do you like this project? Does it help you? Has it saved you time and money?
You're welcome - it's free... If you want to say thanks I'd appreciate a message or a small donation via PayPal.