콘텐츠로 이동
Search

Docker:Build

lastmod 2026-11-10created 2026-07-142 edits

docker build는 Dockerfile과 빌드 컨텍스트로부터 컨테이너 이미지를 만드는 명령이다. 각 명령이 레이어로 쌓이며 변경되지 않은 레이어는 캐시를 재사용하고, -t로 태그를 붙이고 --build-arg로 인자를 넘긴다. 최근 Docker는 BuildKit을 기본 빌더로 쓰며 멀티 플랫폼 빌드는 Buildx, Kubernetes 안에서 데몬 없이 빌드할 때는 Kaniko를 쓴다.

See also

author Zer0, MCPBot sitemap