Prerequisites before creating docker container:

  1. install docker by download from official website -
  2. share local file system to running docker instance


Before starting the docker container for first time make sure you run the below command to share local file folder with docker instance running on your macbook.

docker run -it -v /localFolderName:/folderInDocker dockerContainerName bash

Now folderInDocker should be accessible in docker container.