Shigarwa Docker akan Dabaru Daban-daban: Windows, macOS, Linux

Anan akwai cikakken jagora akan shigarwa Docker akan dandamali daban-daban:

Docker Ana kunnawa Windows

  • Ziyarci gidan yanar gizon hukuma Docker( ) kuma zazzage Desktop don. https://www.docker.com/products/docker-desktop Docker Windows
  • Guda Docker mai sakawa Desktop kuma bi umarnin kan allo.
  • Yayin shigarwa, ƙila a sa ka kunna Hyper-V(ko WSL 2) akan kwamfutarka.
  • Da zarar an gama shigarwa, buɗe Docker Desktop daga menu na Fara.

 

Docker Ana kunnawa macOS

  • Ziyarci gidan yanar gizon hukuma Docker( ) kuma zazzage Desktop don. https://www.docker.com/products/docker-desktop Docker macOS
  • Bude fayil ɗin mai sakawa kuma ja Docker gunkin cikin babban fayil ɗin Aikace-aikace.
  • Kaddamar Docker daga Launchpad ko babban fayil aikace-aikace.
  • A lokacin saitin farko, Docker Desktop na iya buƙatar samun dama ga tsarin ku kuma ya nuna Docker gunki a mashigin menu.

 

Shigarwa Docker akan Linux(hanyar gabaɗaya)

  • Ziyarci gidan yanar gizon hukuma Docker( ) kuma zaɓi sigar da ta dace don rarraba ku. https://docs.docker.com/engine/install/ Docker Linux
  • Bi umarnin shigarwa takamaiman don Linux rarraba ku. Tsarin Docker shigarwa don Linux yawanci ya ƙunshi ƙara mai amfani na yanzu zuwa docker ƙungiyar da shigar da abubuwan dogaro masu mahimmanci.

 

Docker Ana kunnawa Ubuntu

  • Bude a terminal kuma gudanar da umarni masu zuwa don shigarwa Docker akan Ubuntu:
    sudo apt update  
    sudo apt install docker.io  
    sudo systemctl start docker
    sudo systemctl enable docker​
  • Bincika Docker sigar da aka shigar ta amfani da umarnin: docker --version.

 

Docker Ana kunnawa CentOS

  • Bude a terminal kuma gudanar da umarni masu zuwa don shigarwa Docker akan CentOS:
    sudo yum install -y yum-utils  
    sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo  
    sudo yum install docker-ce docker-ce-cli containerd.io  
    sudo systemctl start docker
    sudo systemctl enable docker
    ​
  • Bincika Docker sigar da aka shigar ta amfani da umarnin: docker --version.

 

Ka tuna don komawa zuwa takamaiman takaddun dandamali don tabbatar da nasarar shigarwa Docker akan kwamfutarka.