Home Explore Blog CI



docker

content/reference/api/extensions-sdk/ExtensionCli.md
c9d61b11c682456a0f870a2b16952a0e21e158d6eb707225000000030000016e
---
title: "Interface: ExtensionCli"
description: Docker extension API reference
keywords: Docker, extensions, sdk, API, reference
aliases: 
 - /desktop/extensions-sdk/dev/api/reference/interfaces/ExtensionCli/
 - /extensions/extensions-sdk/dev/api/reference/interfaces/ExtensionCli/
---

**`Since`**

0.2.0

## Properties

### exec

• **exec**: [`Exec`](Exec.md)

Chunks
c27c88a9 (1st chunk of `content/reference/api/extensions-sdk/ExtensionCli.md`)
Title: ExtensionCli Interface: exec Property
Summary
This section of the Docker Extension API reference describes the `exec` property within the `ExtensionCli` interface. Introduced in version 0.2.0, this property provides functionality related to executing commands within the Docker environment. Specifically, the `exec` property is of type `Exec`, suggesting it offers methods or attributes for initiating and managing command executions. Further details about the `Exec` type, its methods, and its parameters can be found in the documentation for the `Exec` interface itself. This functionality is crucial for extensions that need to interact with containers or the Docker daemon by running commands directly.