VSCode = Visual Studio Code 에서 사용할 수 있는 확장(Extension) 입니다.


Dockerfile 및 Docker 작성 파일에 대한 구문강조, 명령, 마우스 오버 팁 및 linting 를 추가해 줍니다.


링크 : https://marketplace.visualstudio.com/items?itemName=PeterJausovec.vscode-docker




Docker 확장을 사용하면 VSCode 에서 컨테이너화 된 응용 프로그램을 쉽게 작성, 관리 및 배포 할 수 있습니다.

  • Dockerfiledocker-compose.yml 및 .dockerignore 파일 자동 생성 (Docker: Add Docker files to Workspace)
  • docker-compose.yml 및 Dockerfile 파일에 대한 구문 강조, 마우스 오버 팁, IntelliSense (completions) 
  • Dockerfile 파일에 대한 Linting (오류 및 경고)
  • 일반적인 Docker 명령에 대한 명령 팔레트 (F1) 통합 (예 docker builddocker push 등)
  • 이미지 관리, 컨테이너 실행 및 Docker 허브 레지스트리에 대한 Explorer 통합
  • Docker 허브 및 Azure 컨테이너 레지스트리에서 Azure App 서비스로 직접 이미지 배포


도커 파일 생성


편집


도커 명령


도커 보기


설정

SettingDescriptionDefault Value
docker.attachShellCommand.linuxContainerAttach command to use for Linux containers/bin/sh
docker.attachShellCommand.windowsContainerAttach command to use for Windows containerspowershell
docker.dockerComposeBuildRun docker-compose with the --build argument, defaults to truetrue
docker.dockerComposeDetachedRun docker-compose with the --d (detached) argument, defaults to truetrue
docker.defaultRegistryPathDefault registry and path when tagging an image""
docker.explorerRefreshIntervalExplorer refresh interval, default is 1000ms1000
docker.hostHost to connect to (same as setting the DOCKER_HOST environment variable)""
docker.imageBuildContextPathBuild context PATH to pass to Docker build command""
docker.languageserver.diagnostics.deprecatedMaintainerControls the diagnostic severity for the deprecated MAINTAINER instructionwarning
docker.languageserver.diagnostics.directiveCasingControls the diagnostic severity for parser directives that are not written in lowercasewarning
docker.languageserver.diagnostics.emptyContinuationLineControls the diagnostic severity for flagging empty continuation lines found in instructions that span multiple lineswarning
docker.languageserver.diagnostics.instructionCasingControls the diagnostic severity for instructions that are not written in uppercasewarning
docker.languageserver.diagnostics.instructionCmdMultipleControls the diagnostic severity for flagging a Dockerfile with multiple CMD instructionswarning
docker.languageserver.diagnostics.instructionEntrypointMultipleControls the diagnostic severity for flagging a Dockerfile with multiple ENTRYPOINT instructionswarning
docker.languageserver.diagnostics.instructionHealthcheckMultipleControls the diagnostic severity for flagging a Dockerfile with multiple HEALTHCHECK instructionswarning
docker.languageserver.diagnostics.instructionJSONInSingleQuotesControls the diagnostic severity for JSON instructions that are written incorrectly with single quoteswarning
docker.languageserver.diagnostics.instructionWorkdirRelativeControls the diagnostic severity for WORKDIR instructions that do not point to an absolute pathwarning
docker.promptOnSystemPrunePrompt for confirmation when running System Prune commandtrue
docker.showExplorerShow or hide the Explorertrue
docker.truncateLongRegistryPathsTruncate long Image and Container registry paths in the Explorerfalse
docker.truncateMaxLengthMaximum number of characters for long registry paths in the Explorer, including ellipsis10

+ Recent posts