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

New Wrangler Command for Container Management

Cloudflare has introduced a new wrangler containers instances command that provides a streamlined way to view all active instances of a given Container application from the command line.

Command Syntax

The command is simple to use:

wrangler containers instances <APPLICATION_ID>

Instance Information Displayed

Each instance listing includes the following details:

  • Instance ID: Unique identifier for the instance
  • Name: Instance name or identifier
  • State: Current operational state
  • Location: Geographic deployment region
  • Version: Application version running
  • Creation Time: When the instance was created

Output Formats

The command supports multiple output formats to accommodate different workflows:

  • Human-readable output: Default format for interactive terminal sessions
  • JSON format: Enable with the --json flag for machine-readable output, particularly useful for CI/CD pipelines and automation scripts

This new CLI capability mirrors the existing instances view in the Cloudflare dashboard, giving developers programmatic access to the same container management capabilities.