Skip to content

Basic Requirements (10m)

In order to complete this tutorial on macOS or Linux, your Docker Desktop/VM/WSL environment must have at least:

  • 4 CPU cores
  • 10 GiB RAM
  • ~40 GiB free storage

These are absolute minimums to schedule all components. More resources improve responsiveness.

Windows Users running Windows Subsystem for Linux (WSL) will require an even more powerful setup. It is advised that your system has the following:

  • At least 18GB of RAM
  • At least 8 or more CPU cores

WSL has access to 50% of the host machine’s available RAM (e.g. 32GB allows WSL access to 16GB), and 100% of its available CPUs.

Optional, but recommended are the following, as they’re used in other examples and tutorials:

If you don’t have any of these, you can continue with the following setup guides to install these tools or verify that you have everything you need.

If you’ve done development with Docker in the past, you may already have it installed. If you do, you can likely skip the rest of this step.

Use of Docker Desktop at a company with greater than 250 employees or $10 million in annual revenue requires a paid subscription. If you don’t wish to use Docker Desktop as a result, we would recommend an alternative platform such as colima, which is free and open-source.

Visit the Docker Desktop website. (Linux users see the Note below) and select the correct download version for the Docker Desktop based on your computer’s OS. Once the installer is downloaded, navigate to the location it downloaded (usually the Downloads folder) and install Docker Desktop.

After installation, you can follow OS-specific steps below.

1. Install Homebrew

Homebrew is a widely used package manager for macOS which also works with Linux. You can install it via the following terminal command:

Terminal window
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

2. Install k3d

For getting started quickly, we recommend using k3d, a lightweight wrapper for k3s, which is Rancher Lab’s minimal Kubernetes distribution. k3d’s site contains detailed installation instructions, but if you’re using Homebrew, you can easily install it with a simple command:

Terminal window
brew install k3d