Changes for page Install Docker for Windows
Last modified by Bas Elzinga on 2024/12/17 12:20
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -43,24 +43,41 @@ 43 43 44 44 {{code language="cmd"}} 45 45 wsl --install -d Ubuntu 46 + 47 +Update Ubuntu install 48 + sudo apt-get update 49 + sudo apt install --no-install-recommends apt-transport-https ca-certificates curl gnupg2 50 + . /etc/os-release 46 46 {{/code}} 47 47 48 48 49 -#Install docker 50 -sudo apt-get update 51 -sudo apt install --no-install-recommends apt-transport-https ca-certificates curl gnupg2 52 -. /etc/os-release 54 +**Step 2: Install Docker ** 55 +{{code language="cmd"}} 53 53 curl -fsSL https://download.docker.com/linux/${ID}/gpg | sudo tee /etc/apt/trusted.gpg.d/docker.asc 54 54 echo "deb [arch=amd64] https://download.docker.com/linux/${ID} ${VERSION_CODENAME} stable" | sudo tee /etc/apt/sources.list.d/docker.list 55 55 sudo apt update 56 56 sudo apt install docker-ce docker-ce-cli containerd.io 60 + 61 + Requires ~335 Mb space to install 62 + {{/code}} 57 57 58 -#Install Java 64 + 65 + 66 + 67 + 68 +**Step 3: Install Java ** 69 + {{code language="cmd"}} 59 59 wget -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | sudo apt-key add - 60 -echo "deb https://packages.adoptium.net/artifactory/deb $(awk -F= '/^VERSION_CODENAME/{print$2}' /etc/os-release) main" | sudo tee /etc/apt/sources.list.d/adoptium.list 71 + echo "deb https://packages.adoptium.net/artifactory/deb $(awk -F= '/^VERSION_CODENAME/{print$2}' /etc/os-release) main" | sudo tee /etc/apt/sources.list.d/adoptium.list 61 61 sudo apt update # update if you haven't already 62 62 sudo apt install temurin-8-jdk 74 + 75 + Requires 221 Mb space to install 76 + {{/code}} 63 63 78 + 79 + 80 + 64 64 #Autostart Dockerd with wsl 65 65 66 66 nano .bashrc ... ... @@ -87,7 +87,7 @@ 87 87 processors=2 88 88 89 89 (Exit WSL: wsl --shutdown) 90 - {{/code}}107 + 91 91 92 92 ===3.4 Installation requirements Windows Server 2019 version >1806=== 93 93