You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tutorials/1-setting-up-docker-and-kubernetes.md
+23-4Lines changed: 23 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,16 +4,21 @@ Before we get started, we're going to set up a local Kubernetes cluster and Dock
4
4
5
5
## Mac
6
6
### Installing Docker for Mac
7
-
1) Visit the [Docker Desktop homepage](https://www.docker.com/products/docker-desktop)
7
+
1) Visit the [Docker Desktop homepage](https://www.docker.com/products/docker-desktop).
8
8
9
9
2) Click `Download for Mac (Stable)` and install it.
10
10
11
11
### Enabling Kubernetes
12
-
1) Click on Docker for Desktop in the menu bar, go to _Preferences_ -> _Kubernetes_ and click _Enable Kubernetes_ and _Apply & Restart_
12
+
13
+
**NOTE**: If you've ever exported a Kubernetes path, you'll have to combine that path with the path that Kubernetes expects the default config file to live at: `~/.kube/config` using a `:` between each path:
1) Click on Docker for Desktop in the menu bar, go to _Preferences_ -> _Kubernetes_ and click _Enable Kubernetes_. Click _show system containers (advanced)_, and _Apply & Restart_
13
18
14
19
2) Once Docker has completed installing Kubernetes you can test that it is working by using `kubectl`:
15
20
16
-
```
21
+
```
17
22
# Check that Kubernetes is running
18
23
> kubectl get nodes
19
24
NAME STATUS ROLES AGE VERSION
@@ -25,7 +30,21 @@ Docker version 18.05.0-ce, build f150324
25
30
```
26
31
27
32
## Windows
28
-
_Coming soon_
33
+
### Installing Docker for Windows
34
+
1) Ensure you are [ready to install](https://docs.docker.com/docker-for-windows/troubleshoot/#virtualization) Docker Desktop.
35
+
36
+
2) Visit the [Docker Desktop homepage](https://www.docker.com/products/docker-desktop).
37
+
38
+
3) Click `Download for Windows (Stable)` and install it.
39
+
40
+
- When you first run docker it's possible that you'll have to install the [Linux Kernel for Windows](https://docs.microsoft.com/en-us/windows/wsl/install-win10#step-4---download-the-linux-kernel-update-package). You are not required to do anything beyond installing the kernel and use powershell to set `wsl` version to **2**.
41
+
42
+
4) Launch Docker Desktop.
43
+
44
+
### Enabling Kubernetes
45
+
1) Click the settings icon, then _Kubernetes_ and click _Enable Kubernetes_. Click _show system containers (advanced)_, and _Apply & Restart_
46
+
47
+
2) Once Kubernetes is active you should see that _Docker_ and _Kubernetes_ are active in the Docker Desktop application window.
0 commit comments