Zum Hauptinhalt springen
LIVE
CVSS 4.8CVE-2026-138092 | A security flaw has been discovered in ggml-org llama.cpp up to 0.8.0. This vulnerability affects the function ggml_roll of the file ggml/src/ggml.c of the component Ggml Tensor Library Roll Operation. The manipulation results in integer overflow. The attack needs to be approached locally. Upgrading to version 0.9.0 is able to resolve this issue. The patch is identified as 0978a6e9022fb9bd6874b86154ee304e81929b9f. It is suggested to upgrade the affected compCVSS 10.0CVE-2026-138091 | A vulnerability was identified in Tenda AC10U 15.03.06.48. This affects the function TendaTelnet of the file /goform/telnet of the component Web UI. The manipulation leads to missing authentication. The attack is possible to be carried out remotely. The exploit is publicly available and might be used.CVSS 10.0CVE-2026-138090 | A vulnerability was determined in Tenda AC10U 15.03.06.48. Affected by this issue is the function ate_ifconfig_set of the file /bin/httpd of the component ATE Service. Executing a manipulation can lead to os command injection. The attack can be executed remotely. The exploit has been publicly disclosed and may be utilized.CVSS 6.9CVE-2026-138089 | A vulnerability was found in Youzan ZanProxy up to 5.1.0. Affected by this vulnerability is the function processRedirect of the file src/core/proxy/middleware/rule.ts of the component Forwarding Rule Redirect. Performing a manipulation of the argument Target results in path traversal. Remote exploitation of the attack is possible. The exploit has been made public and could be used. The project was informed of the problem early through an issue report but hasCVSS 6.9CVE-2026-138088 | A vulnerability has been found in SchneeHertz exhentai-manga-manager up to 1.6.16. Affected is the function mangaToLANraragiArchive of the file index.js of the component LAN Browsing Service. Such manipulation leads to missing authentication. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. The reported GitHub issue was closed with the reason "completed". However, it was not possible to determine the PR or coCVSS 6.9CVE-2026-138087 | A flaw has been found in linhaojun857 aurora up to 07e9524caacf6ceb021f3408e73f900f230d05f2. This impacts the function generalKey of the file aurora-springboot/src/main/resources/application-prod.yml of the component JWT Token Service. This manipulation of the argument secret causes use of hard-coded cryptographic key . The attack may be initiated remotely. The exploit has been published and may be used. This product uses a rolling release model to deliverCVSS 6.9CVE-2026-138086 | A security vulnerability has been detected in wonderunit storyboarder 3.0.0. The impacted element is the function MobileServer of the file src/js/express-app/app.js. The manipulation leads to missing authentication. The attack can be initiated remotely. The exploit has been disclosed publicly and may be used. The project was informed of the problem early through an issue report but has not responded yet.CVSS 5.3CVE-2026-138085 | A weakness has been identified in ThingsBoard up to 4.2.2.7/4.3.1.7/4.4.0. The affected element is the function downloadTestReport of the file application/src/main/java/org/thingsboard/server/controller/DashboardReportController.java of the component Report Service. Executing a manipulation of the argument userId can lead to authorization bypass. It is possible to launch the attack remotely. The exploit has been made available to the public and could be used
Alle im Drawer
Intelligence View
⚡ tsecurity.de Intelligence

Building Docker Containers with Persistent Storage

One of the first surprises new Docker users encounter is that data disappears when a container is removed. Imagine deploying a web application or a database…

Beitrag
0
Seite
0
↗ Quelle (dev.to)
Cloud & Tech-Stack · 4 Min. Lesezeit
Quelle: dev.to
Rubrik: Sichere Programmierung

One of the first surprises new Docker users encounter is that data disappears when a container is removed.



Imagine deploying a web application or a database inside a Docker container. Everything works perfectly until the container crashes or you redeploy your application. Suddenly, all your uploaded files, logs, or database records are gone.



Why?



Because containers are ephemeral by design. They are designed to be created, destroyed, and recreated quickly. Unless data is stored outside the container, it disappears together with the container.



In this article, you'll learn the three common ways Docker handles storage and when each one should be used.









Understanding Docker Storage



There are three common ways to work with data in Docker:




























Storage Type Persists After Container Removal? Managed By
Container Writable Layer ❌ No Docker
Bind Mount ✅ Yes Host Machine
Docker Volume ✅ Yes Docker


Let's explore each one with practical examples.









1. Container Writable Layer (Ephemeral Storage)



By default, every Docker container has a writable layer where files can be created or modified while the container is running.



Think of it like a teacher writing notes on a whiteboard during a class. Once the class ends and the board is cleaned, everything written on it is gone.



Similarly, when a container is removed, everything stored inside its writable layer is lost.






Step 1: Start a container






docker run -it --name notes alpine sh






Inside the container:




echo "My first note" > notes.txt
cat notes.txt






Exit the container:




exit






Remove it:




docker rm notes






Create a new container:




docker run -it --name notes alpine sh






Try reading the file again:




cat notes.txt









Observation



The file no longer exists because it was stored only inside the container.






When is this useful?




  • Temporary files

  • Cache

  • Generated reports

  • Session data









2. Bind Mount



A bind mount connects a folder on your host machine directly into a container.



Think of it as giving someone access to a folder on your computer. They can read from it and write to it, and you can immediately see the changes from your host machine.



Unlike the container's writable layer, the data remains on your computer even after the container is deleted.






Create a folder






mkdir docker-notes






Run the container:




docker run -it \
--name bind-demo \
-v $(pwd)/docker-notes:/app/data \
alpine sh






Inside the container:




echo "Bind Mount Note" > /app/data/notes.txt






Exit:




exit






Verify the file on your host machine:




cat docker-notes/notes.txt






Remove the container:




docker rm bind-demo






Check the file again:




cat docker-notes/notes.txt









Observation



The file is still available because it is stored on the host machine, not inside the container.






Common Use Cases




  • Local development

  • Editing source code

  • Sharing files between host and container









3. Docker Volumes



Docker volumes are the recommended way to persist data in production.



Unlike bind mounts, Docker manages the storage location for you.



Think of a Docker volume as a portable external drive that Docker can attach to any container whenever it starts.



This is the preferred method for storing application and database data.






Create a volume






docker volume create notes-volume






Run a container using the volume:




docker run -it \
--name volume-demo \
-v notes-volume:/app/data \
alpine sh






The option




-v notes-volume:/app/data






attaches the Docker volume to the container.



Inside the container:




echo "Volume Note" > /app/data/notes.txt






Exit:




exit






Remove the container:




docker rm volume-demo






Start another container using the same volume:




docker run -it \
--name volume-demo2 \
-v notes-volume:/app/data \
alpine sh






Check the file:




cat /app/data/notes.txt









Observation



The file still exists because it was stored inside the Docker volume instead of the container.






Common Use Cases




  • Databases

  • Production applications

  • User uploads

  • Application logs









Comparison












































Feature Writable Layer Bind Mount Docker Volume
Persists after container removal ❌ ✅ ✅
Stored on host ❌ ✅ ✅
Managed by Docker ✅ ❌ ✅
Best for Production ❌ ⚠️ Sometimes ✅
Best for Development ❌ ✅ ✅








Which One Should You Use?



Choose the storage option that matches your use case:





  • Container Writable Layer → Temporary data that doesn't need to survive.


  • Bind Mount → Local development where you want to edit files directly on your machine.


  • Docker Volume → Databases and production workloads where persistent storage is essential.









Final Thoughts



Understanding Docker storage is one of the most important skills for anyone learning containers.



If you don't store your data correctly, removing a container can also remove everything your application has generated.



As a general rule:




  • Use the container writable layer for temporary data.

  • Use bind mounts during development.

  • Use Docker volumes in production.



Following these best practices will help you build containerized applications that are reliable, portable, and easier to maintain.









Resources



You can find the complete examples used in this article in my GitHub repository:



👉 https://github.com/highbee2810/Docker_storage_tutorials



If this article helped you, consider leaving a ❤️ and following me for more practical Docker, DevOps, and Cloud tutorials.

Information ergänzen Fachhinweis, Update, Korrektur oder Quelle zur Meldung beitragen
Gäste-Hinweise werden kurz redaktionell geprüft und danach hier angezeigt.

Community-Hinweise zur Meldung

0 freigegeben
Social ReaktionenReagiere als Erste:r — dein Feedback zählt!
Informations-Bewertung:

💬 Community-Diskussion & Kommentare

🌐 Zum Hauptchat

Starte die Diskussion im Social-Chat Broadcast Stream oder reiche oben über „Information ergänzen“ einen Fachbeitrag ein.

Cyber Threat Intelligence & Forensik

ATT&CK-Navigator · IoC-Radar & Graph

CTI Threat Relationship Graph
Akteure · Techniken · Beziehungen
2 Knoten · 1 Relationen
CVE / Incident Threat Actor Software MITRE ATT&CK CWE Weakness IoC
Community Rating & Social Proof
⭐ Leser-Wertung
–
Ø / 5.0
Noch keine Leser-Bewertungen
War dieser Artikel hilfreich?
0
Jetzt Bewertung abgeben
Detail-Bewertung (optional)
Inhalt & Qualität
Quelle & Glaubwürdigkeit
Aktualität
Security Briefing Kostenlos · 1-Klick-Abmeldung

Intelligence Digest — kostenlos

Täglich die wichtigsten Security-News · jederzeit abbestellbar

Verwandte Story-Cluster & Quellen (Vektor-KI)

6 Cluster
23 Quellen
CVE-2026-72239 | Linux Kernel sev x86/virt/sev/sev.c wbinvd_on_all_cpus state issue (WID-SEC-2026-2852)
VulDB Updates vor 25 Min.
22 weitere Quellen
VulDB Updatesvor 25 Min.CVE-2026-72240 | Linux Kernel up to 7.1.4 mfd sm501_register_device memory leak (WID-SEC-2026-2852) VulDB Updatesvor 25 Min.CVE-2026-72241 | Linux Kernel up to 7.1.4 uleds strchr buffer overflow (WID-SEC-2026-2852) VulDB Updatesvor 25 Min.CVE-2026-72244 | Linux Kernel up to 6.12.100/6.18.41/7.1.4/7.2-rc2 gpu-buddy allocation of resources (WID-SEC-2026-2852) VulDB Updatesvor 25 Min.CVE-2026-72243 | Linux Kernel up to 7.2-rc2 selinux socket_sendmsg permission (Nessus ID 364200 / WID-SEC-2026-2852) VulDB Updatesvor 25 Min.CVE-2026-72245 | Linux Kernel up to 7.1.4 host1x host1x_device_parse_dt release of resource (WID-SEC-2026-2852) VulDB Updatesvor 25 Min.CVE-2026-72246 | Linux Kernel flowtable input validation (WID-SEC-2026-2852) VulDB Updatesvor 25 Min.CVE-2026-72247 | Linux Kernel up to 7.2-rc3 nf_conncount __nf_conncount_add dir comparison (WID-SEC-2026-2852) VulDB Updatesvor 25 Min.CVE-2026-72248 | Linux Kernel up to 7.1.4/7.2-rc2 flowtable nft_flow_dst_release buffer overflow (WID-SEC-2026-2852) LinuxAndUbuntuvor 43 Min.Linux AutoFDO Benchmark: Clang Kernel Optimization VulDB Updatesvor 1 Std.CVE-2022-31607 | NVIDIA GPU Display Driver on Linux Kernel Mode Layer nvidia.ko input validation (EUVD-2022-53059 / Nessus ID 339047) VulDB Updatesvor 2 Std.CVE-2026-72227 | Linux Kernel up to 6.12.96/6.18.39/7.1.4/7.2-rc2 batman-adv out-of-bounds (WID-SEC-2026-2852) VulDB Updatesvor 2 Std.CVE-2026-72228 | Linux Kernel up to 7.2-rc2 batman-adv skb_split memory leak (WID-SEC-2026-2852) VulDB Updatesvor 2 Std.CVE-2026-72229 | Linux Kernel up to 7.2-rc2 batman-adv register_netdevice memory leak (WID-SEC-2026-2852) VulDB Updatesvor 2 Std.CVE-2026-72231 | Linux Kernel up to 7.2-rc2 batman-adv batadv_send_tt_request allocation of resources (WID-SEC-2026-2852) VulDB Updatesvor 2 Std.CVE-2026-72230 | Linux Kernel up to 7.2-rc2 batman-adv batadv_frag_send_packet memory leak (WID-SEC-2026-2852) VulDB Updatesvor 2 Std.CVE-2026-72232 | Linux Kernel up to 7.2-rc2 batman-adv batadv_interface_tx out-of-bounds (WID-SEC-2026-2852) VulDB Updatesvor 2 Std.CVE-2026-72234 | Linux Kernel up to 7.2-rc1 batman-adv batadv_get_vid use after free (WID-SEC-2026-2852) VulDB Updatesvor 2 Std.CVE-2026-72233 | Linux Kernel up to 7.2-rc1 batman-adv batadv_bla_is_backbone_gw use after free (WID-SEC-2026-2852) VulDB Updatesvor 2 Std.CVE-2026-72236 | Linux Kernel up to 7.2-rc3 s390/perf_cpum_cf __hw_perf_event_init config array index (WID-SEC-2026-2852) VulDB Updatesvor 2 Std.CVE-2026-72235 | Linux Kernel up to 7.2-rc1 batman-adv batadv_interface_rx use after free (WID-SEC-2026-2852) VulDB Updatesvor 2 Std.CVE-2026-72237 | Linux Kernel up to 7.2-rc2 BRS /x86/amd/brs amd_brs_match_plm information disclosure (WID-SEC-2026-2852) VulDB Updatesvor 2 Std.CVE-2026-72238 | Linux Kernel up to 7.2-rc3 x86 boot early_serial_init integer overflow (WID-SEC-2026-2852)
13 Quellen
These early Cyber Monday gaming laptop deals offer the most GPU for the least money
The Verge vor 44 Min.
12 weitere Quellen
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Building Docker Containers with Persistent Storage

Thematisch verwandte Begriffe: Building, Docker, Containers, with · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

💬 Kommentare werden geladen…
Zum Aktualisieren ziehen
Widgets & Themen
Widgets werden geladen…
Nächster Beitrag