refactor: reintroduce ssh agent
This commit is contained in:
3
devc.sh
3
devc.sh
@@ -29,6 +29,9 @@ default_args() {
|
||||
# clipboard (wl-copy) and gui applications working.
|
||||
[ -e "/run/user/$UID/wayland-0" ] && arg "-v /run/user/$UID/wayland-0:/run/user/1000/wayland-0"
|
||||
|
||||
# Mount the ssh socket to get ssh working.
|
||||
[ -e "$SSH_AUTH_SOCK" ] && arg "-v $SSH_AUTH_SOCK:/run/user/1000/ssh-auth-sock"
|
||||
|
||||
# Make the user home dir a volume so it survives container
|
||||
# restarts. Use copy to keep the homedir files from the image.
|
||||
arg "-v $name:/home/user:copy"
|
||||
|
||||
Reference in New Issue
Block a user