Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 696 Bytes

share-directories-with-docker.md

File metadata and controls

26 lines (16 loc) · 696 Bytes

How to share directories with docker

Overview

On some docker platforms (e.g. macOS, Windows), file sharing must be enabled to allow docker containers to access files on the host system.

Contents

  1. macOS
  2. Windows

macOS

Docker Desktop for Mac

  1. See File Sharing
  2. Docker Desktop > Settings (Gear icon in upper-right) > Resources > File sharing
    1. Click plus sign ("+") to add a directory
    2. So see hidden folders, press Command + Shift + . (period)

Windows

Docker Desktop for Windows

  1. See File Sharing