.DOCKERIGNORE 파일 확장자
Docker Ignore File
| 개발사 | Docker |
| 인기도 |
2.0 | 1 투표 |
DOCKERIGNORE 파일이란 무엇인가요?
A DOCKERIGNORE file is a build configuration file used by Docker, an application packaging and distribution platform. It contains a list of files and directories Docker will ignore when building an associated application. DOCKERIGNORE files are typically named .dockerignore.
추가 정보
Developers use Docker to build and distribute applications via containers. When building an application with Docker, developers may want to tell Docker to ignore certain files and directories included in the application's project directory. (Ignoring these files and directories speeds up the build process, by avoiding sending unnecessary files to Docker's build client.)
To do so, developers create a DOCKERIGNORE file. Each DOCKERIGNORE file is a plain text file that typically begins with the text # .dockerignore and then specifies the list of files and directories the Docker build client should ignore when building the associated application. Usually, developers create a single DOCKERIGNORE file for use with each app project, and they place it in the app's root directory. However, in some cases, developers may end up creating multiple DOCKERIGNORE files for use with a project (e.g., if the project uses multiple Dockerfiles).
일반적인 .DOCKERIGNORE 파일 이름
.dockerignore - The default name for DOCKERIGNORE files stored in a Docker project's root directory.
DOCKERIGNORE 파일을 여는 방법
You can open and edit a DOCKERIGNORE file with Microsoft Visual Studio Code or any other text editor. For more information on how to use DOCKERIGNORE files with Docker, click here.
