Docker local storage sharing example with alpine

Below are a bunch of files and folders to be added to container

-v attribute maps the hostdirectory to the container directory

Example Below

Command :

docker run -v C:\Tyson\50-Application-Workspace\DockerWorkspace\0001-VolumeDemo\data\data-to-be-added-to-container:/apps/data -itd alpine:latest

Leave a Comment