multi-architecture 이미지를 하나의 이름으로 묶는 manifest list를 다루는 docker manifest 그룹.
buildx build –platform … –push 가 많은 경우 manifest 생성을 자동화하지만, 수동 제어가 필요할 때 이 그룹을 쓴다.docker manifest COMMAND
create: 여러 architecture 이미지를 하나의 local manifest list로 묶음–amend, –insecureannotate: 특정 manifest에 OS/architecture/variant 정보 추가–arch, –os, –os-version, –variantinspect: manifest 또는 manifest list 조회-v, –insecurepush: local manifest list를 registry에 업로드-p, –purge, –insecurerm: local manifest list 삭제# 서로 다른 아키텍처 이미지를 하나의 태그로 묶기 docker manifest create registry.example.com/team/myapp:latest \ registry.example.com/team/myapp:amd64 \ registry.example.com/team/myapp:arm64 # arm64 variant annotation docker manifest annotate registry.example.com/team/myapp:latest \ registry.example.com/team/myapp:arm64 --arch arm64 --variant v8 # registry에 게시 docker manifest push --purge registry.example.com/team/myapp:latest
create 이후 push 단계에서 실패할 수 있다.–platform … –push 가 더 단순한 경우가 많다.Usage: docker manifest COMMAND The **docker manifest** command has subcommands for managing image manifests and manifest lists. A manifest list allows you to use one name to refer to the same image built for multiple architectures. Commands: annotate Add additional information to a local image manifest create Create a local manifest list for annotating and pushing to a registry inspect Display an image manifest, or manifest list push Push a manifest list to a repository rm Delete one or more manifest lists from local storage Run 'docker manifest COMMAND --help' for more information on a command.
+