Загрузка...

Docker Volumes Tutorial 🐳 | Persist Data in Containers (Bind Mount vs Named Volume)

Join this channel to get access to perks:
https://www.youtube.com/channel/UCUCFRmx2K3dTdJiUjvS1scA/join

#theshubhamgour

This video provides a clear introduction to Docker Volumes, explaining why they are essential for data persistence in containerized environments.

Key Takeaways
Why Containers Lose Data: Containers are stateless by default (0:27). Once a container is stopped or deleted, all data generated during its runtime is lost, much like checking out of a hotel room (0:43).
What is a Docker Volume? It is a mechanism to store data outside the container on the host machine (2:36), ensuring that information remains accessible even if the container is removed. It functions similarly to plugging a USB drive into a computer (2:58).
Stateful vs. Stateless Applications:
Stateless: Apps that don't need to save previous context (e.g., a web server) (1:12).
Stateful: Apps that rely on persistent data (e.g., MySQL) (1:30).
Types of Volumes: The video introduces two main types: Bind Mounts (mounting a specific local directory) and Named Volumes (managed volumes handled by Docker) (5:01-5:27).
Conclusion: Docker volumes are critical for production workloads where data integrity is required across container lifecycles (6:05). The creator notes that this session focuses on the theory, with a practical hands-on demonstration to follow in the next video (6:34).
🎥 Watch all Docker episodes here : https://www.youtube.com/playlist?list=PLBr8obKbpkYv7jxBr2Dka3t2zXLiBRymh

🎥 Watch all trivy episodes here : https://www.youtube.com/playlist?list=PLBr8obKbpkYsGrdKwFXqRTYcvv1KELCLn

🎥 Watch all Jenkins episodes here: https://www.youtube.com/playlist?list=PLBr8obKbpkYuGg5JDHaL26_DiHC9hdQJv
For all updates:
Let's Connect on LinkedIn: https://www.linkedin.com/in/theshubhamgour
Follow me instagram: https://www.instagram.com/theshubhamgour
Follow me Twitter: https://www.twitter.com/theshubhamgour

Видео Docker Volumes Tutorial 🐳 | Persist Data in Containers (Bind Mount vs Named Volume) канала Shubham gour
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять