경고: 로그인하지 않았습니다. 편집을 하면 IP 주소가 공개되게 됩니다. 로그인하거나 계정을 생성하면 편집자가 사용자 이름으로 기록되고, 다른 장점도 있습니다.
편집을 되돌릴 수 있습니다.
이 편집을 되돌리려면 아래의 바뀐 내용을 확인한 후 저장해주세요.
최신판 |
당신의 편집 |
89번째 줄: |
89번째 줄: |
| | | |
| ==build== | | ==build== |
− | The <code>docker build</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 | - |
| $ docker build [OPTIONS] PATH | URL | - | | $ docker build [OPTIONS] PATH | URL | - |
| [[Dockerfile]] | | [[Dockerfile]] |
100번째 줄: |
100번째 줄: |
| Manage builds. | | Manage builds. |
| | | |
− | === prune ===
| |
| Remove build cache | | Remove build cache |
| $ docker builder prune | | $ 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 == | | == checkpoint == |