Cov txheej txheem:

Kuv yuav thawb Docker cov duab rau hauv Google Container Registry li cas?
Kuv yuav thawb Docker cov duab rau hauv Google Container Registry li cas?

Video: Kuv yuav thawb Docker cov duab rau hauv Google Container Registry li cas?

Video: Kuv yuav thawb Docker cov duab rau hauv Google Container Registry li cas?
Video: Военные тактические часы-Топ-10 самых жестких военных ч... 2024, Kaum ib hlis
Anonim

Thawb cov duab tagged rau Container Registry los ntawm kev siv cov lus txib:

  1. docker zog [HOSTNAME]/[PROJECT-ID]/[ IMAGE ]
  2. docker zog [HOSTNAME]/[PROJECT-ID]/[ IMAGE ]:[TAG]
  3. docker rub [HOSTNAME]/[PROJECT-ID]/[ IMAGE ]:[TAG]
  4. docker rub [HOSTNAME]/[PROJECT-ID]/[ IMAGE ]@[IMAGE_DIGEST]

Ntawm no, Google Container Registry yog dab tsi?

Google Container Registry (GCR) muab kev ruaj ntseg, ntiag tug Docker duab cia rau Google Huab Platform. Nws muab ib qho chaw rau pab pawg tswj hwm Docker cov duab, ua qhov kev ntsuam xyuas qhov tsis zoo, thiab txiav txim siab seb leej twg tuaj yeem nkag mus tau dab tsi nrog kev tswj xyuas kev nkag mus tau zoo.

Tsis tas li ntawd, kuv yuav siv Docker cov duab rau Google huab li cas?

  1. Tsim ib tus as khauj thiab kos npe nkag mus rau hauv Google Cloud Platform Console thiab kos npe rau hauv nws.
  2. Tsim ib qhov project. Hauv qhov project dropdown, xaiv Tsim qhov project tshiab.
  3. Koj qhov project cov ntaub ntawv. Tsim ib daim nplaub tshev ntawm koj lub tshuab kev loj hlob, qhov zoo sib xws rau lub npe ntawm qhov project koj nyuam qhuav tsim.
  4. Muab tso rau.
  5. Nkag mus rau koj lub thawv.

Tib neeg kuj nug, Docker rub cov duab khaws cia nyob qhov twg?

Cov docker duab , lawv khaws cia hauv cov docker directory: /var/lib/ docker / duab yog khaws cia nyob ntawd. Yog xav paub ntxiv txog Docker , mus saib Docker kev qhia thiab Docker Kev cob qhia los ntawm Intellipaat.

Docker Linux yog dab tsi?

Docker yog ib qhov qhib qhov project uas automates deployment ntawm daim ntaub ntawv nyob rau hauv Linux Ntim, thiab muab lub peev xwm los ntim daim ntawv thov nrog nws lub sijhawm ua haujlwm nyob rau hauv lub thawv. Nws muab ib Docker CLI hais kom ua kab cuab yeej rau kev tswj xyuas lub neej ntawm cov duab raws li ntim.

Pom zoo: