Puas yog Docker daemon khiav Linux?
Puas yog Docker daemon khiav Linux?

Video: Puas yog Docker daemon khiav Linux?

Video: Puas yog Docker daemon khiav Linux?
Video: Mang Vang New Song 2020 - puas yog vim kuv [Official Video] 2024, Kaum ib hlis
Anonim

Hauv macOS cov docker binary tsuas yog tus neeg siv khoom thiab koj siv tsis tau khiav tus docker dab , vim Docker dab siv Linux -specific kernel nta, yog li koj ua tsis tau khiav Docker ib txwm nyob hauv OS X. Yog li koj yuav tsum nruab docker - tshuab txhawm rau tsim VM thiab txuas rau nws.

Kuj paub yog, kuv tuaj yeem qhia tau li cas yog Docker daemon khiav ntawm Linux?

Kev khiav hauj lwm-system ywj pheej txoj kev mus xyuas seb Docker yog khiav yog nug Docker , siv cov docker lus txib. Koj tseem tuaj yeem siv cov kev pabcuam kev ua haujlwm, xws li sudo systemctl yog-ua haujlwm docker los yog sudo xwm txheej docker los yog sudo kev pabcuam docker xwm, or kev tshuaj xyuas cov xwm txheej kev pabcuam siv Windows utilities.

Kuv yuav pib Docker daemon hauv Linux li cas? Pib tus dab manually Rau kev debugging lub hom phiaj, koj tuaj yeem pib Docker manually siv dockerd hais kom ua. Tej zaum koj yuav tau siv sudo, nyob ntawm koj qhov kev teeb tsa kev ua haujlwm. Thaum koj pib Docker Txoj kev no, nws khiav hauv pem hauv ntej thiab xa nws cov cav ncaj qha mus rau koj lub davhlau ya nyob twg.

Yog li ntawd, yog Docker daemon khiav Docker?

Cov Docker dab yog ib qho kev pab uas khiav ntawm koj lub host operating system. Nws tsuas yog tam sim no khiav ntawm Linux vim nws nyob ntawm ntau lub Linux ntsiav nta, tab sis muaj ob peb txoj hauv kev khiav Docker ntawm MacOS thiab Windows ib yam nkaus. Cov Docker dab nws tus kheej nthuav tawm REST API.

Tus neeg siv Docker khiav li cas?

Tswj Docker raws li tus neeg siv tsis yog hauv paus Los ntawm lub neej ntawd Unix lub qhov (socket) yog tus tswv los ntawm tus neeg siv hauv paus thiab lwm tus neeg siv tsuas tuaj yeem nkag mus siv nws. sudo . Docker daemon ib txwm khiav raws li tus neeg siv hauv paus. Yog tias koj tsis xav ua ntej cov lus txib docker nrog sudo , tsim ib pab pawg Unix hu ua docker thiab ntxiv cov neeg siv rau nws.

Pom zoo: