Local Installation

This guide walks you through the steps to install Pachyderm on macOS®, Linux®, or Windows®. Local installation helps you to learn some of the Pachyderm basics and is not designed to be a production environment.

Note: Pachyderm supports the Docker runtime only. If you want to deploy Pachyderm on a system that uses another container runtime, ask for advice in our Slack channel.


Before you can deploy Pachyderm, make sure you have the following programs installed on your computer:

If you install Pachyderm on Windows 10 or later, you must have the following components installed in addition to the ones listed above:

Note: For a Windows installation, use Minikube.

Using Minikube

On your local machine, you can run Pachyderm in a minikube virtual machine. Minikube is a tool that creates a single-node Kubernetes cluster. This limited installation is sufficient to try basic Pachyderm functionality and complete the Beginner Tutorial.

To configure Minikube, follow these steps:

  1. Install minikube and VirtualBox in your operating system as described in the Kubernetes documentation.

  2. Install kubectl.

  3. Start minikube:

    minikube start

    Note: Any time you want to stop and restart Pachyderm, run minikube delete and minikube start. Minikube is not meant to be a production environment and does not handle being restarted well without a full wipe.

Docker Desktop

If you use Minikube, skip this section and proceed to Install pachctl

You can use Docker Desktop instead of Minikube on macOS or Linux by following these steps:

  1. In the Docker Desktop settings, verify that Kubernetes is enabled:

    Docker Desktop Enable K8s

  2. From the command prompt, confirm that Kubernetes is running:

    $ kubectl get all
    NAME                 TYPE        CLUSTER-IP   EXTERNAL-IP   PORT(S)   AGE
    service/kubernetes   ClusterIP    <none>        443/TCP   56d
    • To reset your Kubernetes cluster that runs on Docker Desktop, click the Reset button in the Preferences sub-menu.

    Reset K8s

Install pachctl

pachctl is a command-line utility that you can use to interact with a Pachyderm cluster.

To deploy Pachyderm locally, you need to have pachctl installed on your machine by following these steps:

  1. Run the corresponding steps for your operating system:

    • For macOS, run:

      $ brew tap pachyderm/tap && brew install pachyderm/tap/[email protected]
    • For a Debian-based Linux 64-bit or Windows 10 or later running on WSL:

      $ curl -o /tmp/pachctl.deb -L https://github.com/pachyderm/pachyderm/releases/download/v1.9.7/pachctl_1.9.7_amd64.deb && sudo dpkg -i /tmp/pachctl.deb
    • For all other Linux flavors:

      $ curl -o /tmp/pachctl.tar.gz -L https://github.com/pachyderm/pachyderm/releases/download/v1.9.7/pachctl_1.9.7_linux_amd64.tar.gz && tar -xvf /tmp/pachctl.tar.gz -C /tmp && sudo cp /tmp/pachctl_1.9.7_linux_amd64/pachctl /usr/local/bin
  2. Verify that installation was successful by running pachctl version --client-only:

    $ pachctl version --client-only
    pachctl             1.9.5

    If you run pachctl version without --client-only, the command times out. This is expected behavior because pachd is not yet running.

Deploy Pachyderm

After you configure all the Prerequisites, deploy Pachyderm by following these steps:

  • For macOS or Linux, run:

    $ pachctl deploy local

    This command generates a Pachyderm manifest and deploys Pachyderm on Kubernetes.

  • For Windows:

    1. Start WSL.

    2. In WSL, run:

      $ pachctl deploy local --dry-run > pachyderm.json
    3. Copy the pachyderm.json file into your Pachyderm directory.

    4. From the same directory, run:

      kubectl create -f .\pachyderm.json

    Because Pachyderm needs to pull the Pachyderm Docker image from DockerHub, it might take a few minutes for the Pachyderm pods status to change to Running.

  1. Check the status of the Pachyderm pods by periodically running kubectl get pods. When Pachyderm is ready for use, all Pachyderm pods must be in the Running status.

    $ kubectl get pods
    NAME                     READY     STATUS    RESTARTS   AGE
    dash-6c9dc97d9c-vb972    2/2       Running   0          6m
    etcd-7dbb489f44-9v5jj    1/1       Running   0          6m
    pachd-6c878bbc4c-f2h2c   1/1       Running   0          6m

Note: If you see a few restarts on the pachd nodes, that means that Kubernetes tried to bring up those pods before etcd was ready. Therefore, Kubernetes restarted those pods. You can safely ignore that message.

  1. Run pachctl version to verify that pachd has been deployed.

    $ pachctl version
    pachctl             1.9.5
    pachd               1.9.5
  2. Open a new terminal window.

  3. Use port forwarding to access the Pachyderm dashboard.

    $ pachctl port-forward

    This command runs continuosly and does not exit unless you interrupt it.

  4. Alternatively, you can set up Pachyderm to directly connect to the Minikube instance:

    1. Get your Minikube IP address:

      $ minikube ip
    2. Configure Pachyderm to connect directly to the Minikube instance:


    $ pachctl config update context pachctl config get active-context –pachd-address=minikube ip:30650


Next Steps

After you install and configure Pachyderm, continue exploring Pachyderm:

  • Complete the Beginner Tutorial to learn the basics of Pachyderm, such as adding data and building analysis pipelines.
  • Explore the Pachyderm Dashboard. By default, Pachyderm deploys the Pachyderm Enterprise dashboard. You can use a FREE trial token to experiment with the dashboard. Point your browser to port 30080 on your minikube IP. Alternatively, if you cannot connect directly, enable port forwarding by running pachctl port-forward, and then point your browser to localhost:30080.

See Also: