简体   繁体   中英

Using boot2docker in OSX

i need little hlp with docker in osx, everything works fine with boot2docker but a need to forward ssh-agent socket to docker container. When I forward /private/tmp to docker container with -v switch I can not see content of $SSH_AUTH_SOCKET

thx Marek

Currently, the OSX boot2docker setup only works for folders under /Users/ , so your folder will be inside your boot2docker container, not on your client.

Your best option is probably to modify the location of the ssh-agent socket file. ssh-agent has an -a option which might be worth looking into.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM