Tour the new environment window

- Name: The name you give your environment.
- Description (Optional): Use this to record details about your environment.
-
Base Environment / Image: These are the options for a base environment/image:
- Start from an existing Environment: Base your new environment on an existing Domino environment.
- Active (auto-rebuilds): For an existing environment, keep this selected, or choose a specific revision from the menu.
- Start from a custom base image: Input a URI to build a custom environment.
- Supported Clusters: Lists the currently supported types of clusters.
- Visibility: Choose a visibility level: Private, Available to an Organization, or Globally Accessible (admin only).
- Revision Behavior: Auto-assigns the latest revision as active.
- Customize before building: Use this to add custom features to your environment.
- Create Environment: Validates and creates your new environment.
Create environment based on Domino core environment
Domino comes with the Domino Core Environment installed, but you can create a new Domino Environment using the available environment images.- Go to Govern > Environments and click + Create Environment.
-
Fill in the following fields:
- Name: Name your environment according to the naming convention of your organization.
- Description (Optional): Enter a meaningful description of the environment. For example, you could add details like the OS, Python version, and whether the environment uses Jupyter, JupyterLab, VS Code, etc.
-
Choose Start from an existing Environment for your Base Environment / Image.
- The global default for your environment is pre-selected.
- Scroll until you can select the Domino Core Environment.
- Active (auto-rebuilds): keep this selected, or choose a specific revision from the menu.
- Choose an option for any Supported Clusters.
- Decide on your environment’s Visibility level: Private, Available to an Organization, or Globally Accessible (admin only).
- Click Create Environment. The Revisions tab for the environment opens.
Create environment based on existing environment
You can create a new Domino Environment by duplicating existing environments, or by choosing a base environment from the Start from existing environment menu. After building or editing an environment, use the Auto-assign next new revision as Active toggle in the Revisions tab to control which revision is active. When enabled, the latest successful build becomes Active automatically. When disabled, the environment stays on the current Active revision, even as new ones are built.
Create environment by duplication
To create a new environment by duplicating an existing environment:- Go to Govern > Environments.
- Choose the environment you want to copy and click the three dots on the right.
- Choose Duplicate Environment from the menu.
- Rename it by clicking the edit icon and then entering when done.
-
You can edit other fields quickly to customize them:
- Edit Description: Click Update when you are done with the description.
- Edit Visibility: Click Update Visibility when finished.
- Click Customize before building or Create Environment.
Create environment from existing environment
When you create a new environment based on an existing one or change the settings of an environment, you have two options for building it:- You can create it based on a specific version of the base environment. You can change this on a later revision of your own.
- You can set it to update automatically by linking it to changes in the base environment’s Active revision. If the base environment changes its Active revision, your environment automatically builds a new revision based off of it.
- Go to Govern > Environments.
- Select Create Environment.
-
Choose the environment you want to use as the base from the menu.
- Active (auto-rebuilds): keep this selected, or choose a specific revision from the menu.
- Name your new environment.
- Description (Optional): Enter a description of the environment.
- Choose a Visibility level for your environment.
- Click Create Environment. The Revisions tab for the environment opens.
Create environment based on custom images
Choose your custom Docker or container image before creating a new environment and copy the URI.- Go to Govern > Environments and click +Create Environment.
-
Fill in the following fields:
- Name: Name your environment according to the naming convention of your organization.
- Description (Optional): Enter a meaningful description of the environment. For example, you could add details like the OS, Python version, and whether the environment uses Jupyter, JupyterLab, VS Code, etc.
-
Choose Start from a custom base image for your Base Environment / Image.
- FROM: Paste the custom Docker or container image URI here.
- Optional: Review the information about the Automatically make compatible field.
- Choose an option for any Supported Clusters.
- Decide on your environment’s Visibility level: Private, Available to an Organization, or Globally Accessible (admin only).
- Click Create Environment. The Revisions tab for the environment opens.
Set supported CPU architectures
Each environment revision declares the CPU architectures it supports:amd64, arm64, or both. When a revision declares both, Domino builds the image for each architecture and publishes the results as one multi-architecture image, so the same revision runs on hardware tiers of either architecture. When an execution starts, Domino checks that the environment supports the CPU architecture of the selected hardware tier and rejects the execution if it doesn’t. For on-demand clusters, Domino runs the same check against the cluster’s head and worker hardware tiers.
If a revision doesn’t declare architectures, it inherits the architectures declared on its base environment. If neither declares architectures, the revision supports amd64, so existing environments keep running on their current hardware tiers. The environments Domino provides with a deployment, including the Domino Standard Environment (DSE) and Domino Core Environment (DCE), declare both amd64 and arm64, so environments based on them inherit support for both.
Architectures are a build input. A revision that changes only its declared architectures triggers a fresh image build instead of reusing the previous revision’s image.
When you publish a Domino endpoint, Domino builds the model image for the CPU architecture of the endpoint’s hardware tier, so endpoints run on arm64 hardware tiers as well as amd64.
Select architectures in the UI
The Create Environment window includes an Architecture field withamd64 and arm64 checkboxes. amd64 is selected by default. Select at least one architecture; Domino blocks creation until you do.
If your deployment doesn’t have multi-architecture support enabled, amd64 stays selected and both checkboxes are disabled. Hovering over arm64 shows that multi-architecture support isn’t enabled on the deployment.
The same Architecture checkboxes appear when you edit an environment’s definition, so a new revision can change the declared architectures. Each revision’s details page shows the architectures it declares.
Declare architectures with the API
Use the v2 environments API to declare architectures programmatically:POST /api/environments/v2/environmentscreates an environment. Set thearchitecturesarray on theinitialRevisionobject.POST /api/environments/v2/environments/{environmentId}/revisionscreates a revision of an existing environment. Set thearchitecturesarray at the top level of the request body.
400 response when the architectures array contains a value other than amd64 or arm64. In v2 request bodies, the dockerfileInstructions, preSetupScript, postSetupScript, preRunScript, and postRunScript fields are nested under a buildConfiguration object. The beta environments endpoints are deprecated and don’t support architectures.
Example request:
GET /api/environments/v1/environments/{environmentId} and check the architectures array on each revision.
Archive an environment
You can archive an environment when nothing uses it: no Project uses it as its default environment, and no Scheduled Job or Workspace uses it. Archiving an environment does not affect reproducibility; executions based on it still run.- Go to Govern > Environments.
- Choose an environment from the list.
-
There are two ways to archive an environment quickly:
- You can click the 3 dots within the list and choose Archive Environment.
- Choose Archive Environment from the menu. You can also archive from any tab within the Environment details.
-
Domino checks where the environment is in use:
- If nothing uses it, click Archive Environment to confirm.
- If it is in use, the dialog lists the Projects that use it as their default environment and the Scheduled Jobs and Workspaces that use it. Each item links to where you change its environment. Items you don’t have permission to view appear as hidden entities. Switch each resource to a different environment, then click I’ve updated the resources to check again.
Next steps
- Customize your Environment to enable tools, run scripts, or manage environment variables.
- Set default Environments establishes a starting point for all new projects or an environment for a specific project.
- Our Best Practices guides you in setting up and maintaining your Domino environments.
- Use AI coding assistants to enhance your coding in a Domino Environment.