Skip to content

Commit d1b7bdb

Browse files
author
js-jslog
committed
Add set of working directory to the run instruction
1 parent f77debb commit d1b7bdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ docker build --build-arg http_proxy --build-arg https_proxy --build-arg HTTP_PRO
88

99
# Run
1010
```
11-
docker run -ti -e http_proxy -e https_proxy -e HTTP_PROXY -e HTTPS_PROXY --rm -v $(pwd):/home/developer/workspace
11+
docker run --rm -ti -e http_proxy -e https_proxy -e HTTP_PROXY -e HTTPS_PROXY -e SSH_AUTH_SOCK=$SSH_AUTH_SOCK -v $(dirname $SSH_AUTH_SOCK):$(dirname $SSH_AUTH_SOCK) -v $(pwd):/home/developer/workspace -w /home/developer/workspace <image_name>
1212
```

0 commit comments

Comments
 (0)