Cov txheej txheem:

Kuv yuav khiav docker duab hauv Windows li cas?
Kuv yuav khiav docker duab hauv Windows li cas?

Video: Kuv yuav khiav docker duab hauv Windows li cas?

Video: Kuv yuav khiav docker duab hauv Windows li cas?
Video: kheev lam sij hawm tig tau rov qab 10/23/2018 2024, Kaum ib hlis
Anonim

5 Kauj ruam

  1. Xaiv Koj Lub Hauv Paus Duab . Docker duab rau Qhov rai apps yuav tsum tau raws li microsoft / nanoserver los yog microsoft /windowsservercore, lossis ntawm lwm qhov duab raws li ib tug ntawm cov.
  2. Nruab Kev vam meej.
  3. Siv daim ntawv thov.
  4. Configure qhov chaw nkag.
  5. Ntxiv Healthcheck.

Ib yam li ntawd, tib neeg nug, Kuv yuav siv Docker li cas ntawm Windows?

Docker Desktop rau Windows

  1. Nruab. Ob-nias Docker rau Windows Installer los khiav lub installer.
  2. Khiav. Qhib lub davhlau ya nyob twg zoo li PowerShell, thiab sim ua qee cov lus txib Docker!
  3. Txaus siab rau. Docker muaj nyob rau hauv txhua lub davhlau ya nyob twg ntev npaum li Docker Desktop rau Windows app tab tom khiav.
  4. Cov ntaub ntawv.

Tsis tas li ntawd, peb puas tuaj yeem khiav Windows ntim ntawm Linux? Tsis yog, koj ua tsis tau khiav windows 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 docker hauv cov ntawv qhia zaub mov. Tsis zoo li Virtualization, containerization siv tib lub party os.

Ib tus kuj tseem nug, Kuv tuaj yeem qhia li cas yog Docker khiav ntawm Windows?

Kev khiav hauj lwm-system ywj pheej txoj kev mus xyuas seb Docker puas 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 Qhov rai cov khoom siv hluav taws xob.

Peb puas tuaj yeem siv docker hauv Windows?

Vim lub Docker Lub cav daemon siv Linux-specific kernel nta, koj ua tau tsis khiav Docker Cav natively rau Qhov rai . Hloov chaw, koj yuav tsum siv tus Docker Machine hais kom ua, docker -machine, los tsim thiab txuas rau Linux VM me me ntawm koj lub tshuab. Qhov no VM hosts Docker Cav rau koj ntawm koj Qhov rai qhov system.

Pom zoo: