Skip to content

Instantly share code, notes, and snippets.

@pn11
Created October 2, 2018 11:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pn11/c2ed4e44520061cb59d42dd1b1a10adf to your computer and use it in GitHub Desktop.
Save pn11/c2ed4e44520061cb59d42dd1b1a10adf to your computer and use it in GitHub Desktop.
Mount current directory on a docker container using PowerShell.
$current_path = $(Resolve-Path .).ToString()
docker run -v ${current_path}:/data ubuntu bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment