1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-01-17 22:28:32 +01:00

Fix typo in ephemeral FS in docker

Solve conflict in information between lines 3 and 9
"stopped (and) removed" in line 3
"stopped (or) removed" in line 9
This commit is contained in:
Zakarya Meddahi 2024-04-16 15:23:57 +01:00 committed by GitHub
parent a20400f6a2
commit 3ab6942cee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,7 +6,7 @@ This temporary or short-lived storage is called the "ephemeral container file sy
### Ephemeral FS and Data Persistence
As any data stored within the container's ephemeral FS is lost when the container is stopped or removed, it poses a challenge to data persistence in applications. This is especially problematic for applications like databases, which require data to be persisted across multiple container life cycles.
As any data stored within the container's ephemeral FS is lost when the container is stopped and removed, it poses a challenge to data persistence in applications. This is especially problematic for applications like databases, which require data to be persisted across multiple container life cycles.
To overcome these challenges, Docker provides several methods for data persistence, such as:
@ -14,4 +14,4 @@ To overcome these challenges, Docker provides several methods for data persisten
- **Bind mounts**: Mapping a host machine's directory or file into a container, effectively sharing host's storage with the container.
- **tmpfs mounts**: In-memory storage, useful for cases where just the persistence of data within the life-cycle of the container is required.
By implementing these strategies, Docker ensures that application data can be preserved beyond the life-cycle of a single container, making it possible to work with stateful applications.
By implementing these strategies, Docker ensures that application data can be preserved beyond the life-cycle of a single container, making it possible to work with stateful applications.