Docker: Volume


Docker commands:


docker ps: To show all the running containers in docker

docker build <path> -t <image_name>: It creates the image from the Dockerfile in the current folder.

docker run -it <image_name or image id>: It start the container 

 




 Volume is the storage outside the container. It is used to share the data among different containers at runtime.

Docker Volume commands

  1. docker volume list
  2. docker volume create <volume_name>
All the volumes are stored at /var/lib/docker/volumes/_data




Comments

Popular posts from this blog

React JS

WaterMark behavior in ADF

WebLogic Application Deployment & Shared Library