Created
October 2, 2018 11:24
-
-
Save pn11/c2ed4e44520061cb59d42dd1b1a10adf to your computer and use it in GitHub Desktop.
Mount current directory on a docker container using PowerShell.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$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