← Back
Cloudflare
Cloudflare Wrangler adds `containers instances` command for listing container deployments

New Command for Container Instance Management

Cloudflare has introduced a new CLI command to the Wrangler toolchain: wrangler containers instances. This command provides developers with a convenient way to list and inspect all instances running for a specific Container application directly from the command line.

What's Available

The new command displays comprehensive information about each instance:

  • Instance ID - Unique identifier for the instance
  • Name - Human-readable instance name
  • State - Current operational state
  • Location - Geographic region where the instance is running
  • Version - Deployed version number
  • Creation Time - When the instance was created

Usage

Simply run the command with your application ID:

wrangler containers instances <APPLICATION_ID>

For machine-readable output suitable for automation and CI/CD pipelines, use the --json flag:

wrangler containers instances <APPLICATION_ID> --json

The --json format is automatically used in non-interactive environments such as continuous integration systems, making it easy to parse instance information programmatically.

Documentation

For the complete list of command options and additional details, refer to the containers instances command reference.