mirror of
https://github.com/yeasy/docker_practice.git
synced 2026-08-10 16:37:34 +00:00
修复 URL 编码与澄清 containerd image store 启用条件
This commit is contained in:
@@ -43,7 +43,7 @@ $ docker buildx build --sbom=true -t myimage .
|
||||
>
|
||||
> **正确的解决路径有两条**:
|
||||
> 1. **推送到远端仓库**:使用 `docker buildx build --sbom=true --push -t myimage:tag` 时,SBOM 会正确保存到远端仓库。远端 OCI 兼容的镜像仓库能够完整存储这些元数据。
|
||||
> 2. **启用 containerd image store**:在 Docker 守护进程中启用 `containerd image store` 特性(Docker v29+,现代 Docker Desktop 默认推荐),可以在本地查看和管理 SBOM 等 attestation 元数据。
|
||||
> 2. **启用 containerd image store**:在 Docker 守护进程中启用 `containerd image store` 特性(Docker v29+,新安装场景默认启用,Docker Desktop 上也更容易直接使用),可以在本地查看和管理 SBOM 等 attestation 元数据。
|
||||
|
||||
### 10.2.2 官方文档
|
||||
|
||||
|
||||
Reference in New Issue
Block a user