Run Commands

Set a Project as Current

Learn how to switch to a different project.

Before You Start #

  • Pachyderm ships with an initial project named default that is automatically set to your active context.

How to Set a Project to Your Current Context #

Tool:

In order to begin working on a project other than the default project, you must assign it to a pachCTL context. This enables you to safely add or update resources such as pipelines and repos without affecting other projects.

pachctl config update context --project foo

You can check the details of your active context using the following commands:

pachctl config get active-context # returns contextName
pachctl config get context <contextName>

# {
#   "source": "IMPORTED",
#   "cluster_name": "docker-desktop",
#   "auth_info": "docker-desktop",
#   "cluster_deployment_id": "dev",
#   "project": "foo"
# }

switch active project