Docs Menu
Docs Home
/ /
Atlas CLI

Run Atlas CLI Commands with Docker

On this page

  • Complete The Prerequisites
  • Follow These Steps

This tutorial shows you how to run Atlas CLI commands with Docker in the following ways:

  • Run Docker in interactive mode

  • Run Docker as a daemon (detached mode)

To learn more about interactive mode and detached mode, see docker run.

For more information on our Atlas CLI docker image, see our Docker Hub repository.

You can also create a local Atlas deployment with Docker. To learn more, see Create a Local Atlas Deployment with Docker.

Before you begin, complete the following prerequisites:

  1. Install the Docker engine or Docker desktop.

  2. Pull the Docker image to install the Atlas CLI with Docker.

  3. (Optional) To run in interactive mode with an environment file, create an environment file that contains valid Atlas CLI environment variables, including API key environment variables that provide your API keys.

To run Atlas CLI commands with Docker, select one of the following options and follow the steps:

← Test Automations with Ephemeral Projects and Clusters