我已经安装了VSCode插件,以便在容器中进行远程开发。
我选择“附加到容器”选项,然后选择一个特定的容器。
但是附件失败
887 ms] Start: Run in container: set -o noclobber ; mkdir -p '/home/alerta/.vscode-server/data/Machine' && { > '/home/alerta/.vscode-server/data/Machine/.writeMachineSettingsMarker' ; } 2> /dev/null
[893 ms]
[893 ms] mkdir: cannot create directory ‘/home/alerta’: Permission denied
[893 ms] Exit code 1
[894 ms] Start: Run in container: test -d /home/alerta/.vscode-server/bin/a0479759d6e9ea56afa657e454193f72aef85bd0
[896 ms]
[896 ms]
[896 ms] Exit code 1
[897 ms] Installing VS Code Server for commit a0479759d6e9ea56afa657e454193f72aef85bd0
[897 ms] Start: Run in container: mkdir -p /home/alerta/.vscode-server/bin/a0479759d6e9ea56afa657e454193f72aef85bd0_1598452846311
[900 ms]
[900 ms] mkdir: cannot create directory ‘/home/alerta’: Permission denied
是否有一个选项可以指示VSCode在哪个路径下打开?