|
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).
|
|