From 03f6161962699ad3ba22248c124870c9622e80bd Mon Sep 17 00:00:00 2001 From: hide_d Date: Sun, 19 Sep 2021 02:14:27 +0900 Subject: [PATCH] =?UTF-8?q?=EC=97=85=EB=8D=B0=EC=9D=B4=ED=8A=B8=20'DevDock?= =?UTF-8?q?erContainer'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DevDockerContainer.md | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/DevDockerContainer.md b/DevDockerContainer.md index 8247a91..e0a3aa3 100644 --- a/DevDockerContainer.md +++ b/DevDockerContainer.md @@ -45,5 +45,28 @@ VSCode를 설치하고 Plugin으로 Docker, Remote - Containers 두개 설치 [choco](https://chocolatey.org/) 설치, `choco install docker-cli`로 docker-cli 설치 -[Connect to remote Docker over SSH](https://code.visualstudio.com/docs/containers/ssh)에 따라 Docer over SSH 설정 +[Connect to remote Docker over SSH](https://code.visualstudio.com/docs/containers/ssh)에 따라 Docker over SSH 설정 + +imageConfigs에 사용할 json 파일은 다음처럼 설정 가능 + +```json +{ + "workspaceFolder": "/var/www/html/sam", + "remoteUser": "www-data", + "extensions": [ + "bmewburn.vscode-intelephense-client", + "dbaeumer.vscode-eslint", + "donjayamanne.githistory", + "eamodio.gitlens", + "eg2.vscode-npm-script", + "MS-CEINTL.vscode-language-pack-ko" + ] +} +``` + +`workspaceFoler`와 `remoteUser`가 핵심 + +container가 붙는지 확인하고, terminal이 붙는지 확인하고, npm install 해보고, php --version 해보고, git push --dry-run 해보자 + +끝! \ No newline at end of file