Private
官方的 Registory 就在公有的位置,除此之外,我們也可以在想到的地方建立私有的倉庫。
最簡單的方式就是透過 docker-registry 這個官方提供用於建立私有倉庫的 image
只需透過以下指令
從以上指令可以看到:
private registory 預設使用 5000 port
image 存在
/tmp/registry
查詢 images
查詢本地所有的 image 透過:
查詢 Registry上所有的 image
查詢 Registry 上 image 的詳細資訊
上傳 image
下載 image
詳細的 docker registry RESTful API 可以看這篇:
Last updated
Was this helpful?