I’m looking for a easy way to map the current directory when you do a docker run -v
The idea is to map the current build result directory into a container, independently of the user name of the developer or where he checked out the project
The solution that I’m aware of, is to use the full path to the current directory in a “cygwinied” format (/c/Users/WinUsername/directoryToMap)
The problem with that is that you have to “convert the format” manually from C:\Users\WinUsername\directoryToMap, making it very hard to create a batch file or giving “directory independent” instructions.
IS there a command line trick or a special syntax for map the current directory?
Something like allows me to been in the directory C:\Users\WinUsername\directoryToMap and simply run something similar to
I’ve installed the git for windows on a windows server 2016 container. Once inside the container via powershell , can see c:\git and all required files inside. However, going into git bash from within the powershell ( inside container ) is fruitless. Tried several things. Can you pls provide some insights into get to git bash inside a windows server 2016 container ?