Saturday, August 8, 2020
Home CONTAINERIZATION When to use volume in Docker?

When to use volume in Docker?

Currently, there are 3 options(Volume, Bind Mount, Tmpfs) that exist to manage storage concerns in Docker. The volume is the most compelling and suggested one to use. So when to use volume in Docker?

  • if you want to decouple data from the container life cycle
  • if you want to manage data/volume with docker native commands (docker volume create/ls/inspect ..)
  • if you want to port volume create in Linux to Windows or vice versa
  • if you want to use 3rd party shiny storage options like cloud storage or local container storage options
  • if you want to share a volume safely across different containers/services

Burak Cansizogluhttp://devopsmania.com/
Burak is working as a freelance Cloud/DevOps consultant. He performed different roles during his professional career track. He has more than 12 years of experience in the finance, telecommunication and government sectors. He likes to learn new technologies and wants to share his knowledge, experiences with the community. He likes all lean, agile initiatives. And he believes that the DevOps mindset and DevOps transformation will bring more agility to the Enterprises as well as employees.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Most Popular

How to install Minishift on Windows10?

Minishift is the compact all-in-one solution of OpenShift community distribution in a Virtual Machine(VM). It allows developers and curious minds to run...

How is Docker different from a Virtual Machine?

Docker containers are isolated processes within their namespaces. Virtual Machines are full-blown Operating Systems (OS) living on Hypervisors. In this article, we...

How to run a Docker Container in Detached Mode?

When you are running your Docker containers, you can attach them to your current shell or run them as background tasks in...

How to install Docker on Centos7?

You can install and use Docker on Centos7. In this article, we will go step by step instructions to do that. You...

Recent Comments