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