10个镜像相关的API
1. 创建镜像:两种方式
- 从Registry中提取
- 导入镜像
POST /images/create
2. 利用容器创建镜像
POST /commit
3. 获取镜像清单:
GET /images/json
4. Insert a File:导入指定的路径文件:
POST /images/(name)/insert
5. 删除镜像:
DELETE /images/(name)
6. 推送镜像到Registry
POST /images/(name)/push
7. Tag镜像
POST /images/(name)/tag
8. 搜索镜像:
GET /images/search
9. 查看镜像历史
GET /images/(name)/history
10. 构建镜像
POST /build