From bfbd68f9d56f7e497cb3adc644762ff13e65264f Mon Sep 17 00:00:00 2001 From: Quentin McGaw Date: Mon, 9 Jan 2023 08:04:24 +0000 Subject: [PATCH] chore(dev): update ssh bind mount for newer dev container --- .devcontainer/docker-compose.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.devcontainer/docker-compose.yml b/.devcontainer/docker-compose.yml index 8dfc4959..7a56282f 100644 --- a/.devcontainer/docker-compose.yml +++ b/.devcontainer/docker-compose.yml @@ -10,10 +10,10 @@ services: # Docker socket to access Docker server - /var/run/docker.sock:/var/run/docker.sock # SSH directory for Linux, OSX and WSL - - ~/.ssh:/root/.ssh:z - # For Windows without WSL, a copy will be made - # from /tmp/.ssh to ~/.ssh to fix permissions - # - ~/.ssh:/tmp/.ssh:ro + # On Linux and OSX, a symlink /mnt/ssh <-> ~/.ssh is + # created in the container. On Windows, files are copied + # from /mnt/ssh to ~/.ssh to fix permissions. + - ~/.ssh:/mnt/ssh # Shell history persistence - ~/.zsh_history:/root/.zsh_history:z # Git config