주 메뉴 열기

wwiki β

바뀜

Docker cli

654 바이트 추가됨, 2023년 1월 20일 (금) 00:22
build
==build==
The <code>docker build [OPTIONS] </code> command builds Docker images from a Dockerfile and a “context”. A build’s context is the set of files located in the specified <code>PATH | </code> or <code>URL | -</code>.
$ docker build [OPTIONS] PATH | URL | -
[[Dockerfile]]
Manage builds.
=== prune ===
Remove build cache
$ docker builder prune
 
== buildx ==
Extended build capabilities with BuildKit
 
=== ls ===
List builder instances
$ docker buildx ls
 
=== create ===
Create a new builder instance
$ docker buildx create [OPTIONS] [CONTEXT|ENDPOINT]
options
 
--use Set the current builder instance
 
=== inspect ===
Inspect current builder instance
$ docker buildx inspect [NAME]
options
 
--bootstrap Ensure builder has booted before inspecting
 
=== rm ===
Remove a builder instance
$ docker buildx rm [NAME]
== checkpoint ==
편집
2,431