tl  tr
  Home | Tutorials | Articles | Videos | Products | Tools | Search
Interviews | Open Source | Tag Cloud | Follow Us | Bookmark | Contact   
 Container Management > Docker > How to mount a host directory in a Docker Container

How to mount a host directory in a Docker Container

Author: Venkata Sudhakar

Docker is an open platform to develop, ship, and run containerized applications. It separates infra from application to ease application development and support anywhere development strategy. The below example shows how to mount a host directory in a Docker Container. Place couple of files under C:/VENKAT directory on Host and map it to /usr/share/nginx/html inside the container in readonly mode (ro).

 
  


  
bl  br