Home Explore Blog CI



docker

1st chunk of `content/reference/api/extensions-sdk/ExtensionCli.md`
c27c88a94e84c845b45adca1f402a6480a29345370526cb7000000010000016e
---
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)

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.