Docker Volume Create and store data and shared Docker host

 

Volume is normal directory and declarer shared volume storage . 

Volume can't be deleted.



                        Benefits for creating volume 



 

             Create Volume in container using dockerfile 




Create Container using Command




Shared volume Host to Container 



Other Used full commands 

docker volume ls : - check how much volume you have
docker volume create :- create volume 
docker volume rm :- remove volume
docker volume prune : - remove all unused volume
docker volume inspect : - volume related information 
docker container inspect : - container related infor





Comments

Popular Posts