Koj puas tuaj yeem khiav Windows Docker ntawm Linux?
Koj puas tuaj yeem khiav Windows Docker ntawm Linux?

Video: Koj puas tuaj yeem khiav Windows Docker ntawm Linux?

Video: Koj puas tuaj yeem khiav Windows Docker ntawm Linux?
Video: Военные тактические часы-Топ-10 самых жестких военных ч... 2024, Kaum ib hlis
Anonim

Tsis yog, koj ua tsis tau khiav qhov rais ntim ncaj qha rau Linux . Tab sis koj tuaj yeem khiav Linux ntawm Qhov rai . Koj ua tau hloov ntawm OS ntim Linux thiab qhov rais los ntawm txoj cai nyem rau ntawm lub docker hauv tais zaub mov. Tsis zoo li Virtualization, containerization siv tib lub party os.

Tib neeg kuj nug, Kuv puas tuaj yeem khiav Linux Docker duab ntawm Windows?

Docker ua tau khiav Linux ntim rau Qhov rai desktop txij li thaum nws tau tso tawm thawj zaug hauv 2016 (ua ntej Hyper-V cais lossis Linux ntim rau Qhov rai muaj) siv LinuxKit raws li lub tshuab virtual khiav ntawm Hyper-V. Muab cov ntsiav nrog ib leeg thiab Moby VM, tab sis tsis nrog cov Qhov rai tus tswv tsev.

Tsis tas li ntawd, Docker duab tuaj yeem khiav ntawm OS sib txawv? Tsis yog, nws ua tsis yog. Docker siv containerisation raws li ib tug core technology, uas tso siab rau lub tswvyim ntawm kev sib koom ib ntsiav ntawm ntim. Yog ib Docker duab tso siab rau lub Windows kernel thiab lwm qhov tso siab rau Linux kernel, koj ua tsis tau khiav ob tug duab ntawm tib yam OS.

Cov lus nug tseem yog, Docker puas zoo dua Windows lossis Linux?

Linux , yog a zoo dua OS mas Qhov rai , nws cov architecture, tshwj xeeb tshaj yog cov Kernel thiab cov ntaub ntawv system yog ntau zoo dua tshaj Qhov rai . Qhov no ua tau zoo heev, yog li ntawd Docker nrov. Thawj txoj hauv kev txhawb nqa Docker ntawm Qhov rai yog Docker Toolbox, uas yog qhov pib VM siv Virtual Box nrog a Linux duab.

Puas yog Docker tsuas yog rau Linux?

Koj tuaj yeem khiav ob qho tib si Linux thiab Windows programs thiab executables hauv Docker thawv. Cov Docker platform khiav ib txwm nyob rau Linux (ntawm x86-64, ARM thiab ntau lwm CPU architectures) thiab ntawm Windows (x86-64). tsim cov khoom uas cia koj tsim thiab khiav ntim rau Linux , Windows thiab macOS.

Pom zoo: