DockerPull
web-1.2
# image: nginx:latest# proxyUrl 127.0.0.1# proxyPort 7890java -jar docker-pull.jar
透過該指令在下載並打包完畢後,你可以在jar 包目錄下的images資料夾下找到鏡像文件
After the download and packaging are complete, you can find the downloaded image in the image directory under the jar package.
你也可以直接啟動網頁端進行圖形化操作,以下是啟動的指令
Or you can use web page
java -jar docker-pull.jar --web
開啟瀏覽器並輸入位址http://localhost:1111
Open url http://localhost:1111
進入頁面後尋找你要的鏡像並選擇版本及系統晶片架構等資訊並選擇拉去,然後也可以直接透過下載清單裡面的上傳按鈕直接上傳到你的伺服器上
Search your image and download then you can upload to you server
預設下載的鏡像檔預設以.gz 結尾,需要改成.tar
The extracted image is by default ending with .gz, and it needs to be changed to end with .tar.
# example: image file name 'nginx_latest.tar'docker load < nginx_latest.tar
預設未開啟密碼校驗,在設定檔config中新增authKey:123456
即可
default authKey is not enabled, add authKey:123456
in config to enable
感謝nimastudent 提供的前端頁面支持
Thanks to nimastudent for the front-end support
MIT © Fetters