{"id":1261,"date":"2024-07-23T12:16:54","date_gmt":"2024-07-23T12:16:54","guid":{"rendered":"https:\/\/dockerpros.com\/?post_type=glossary&#038;p=1261"},"modified":"2024-07-23T12:21:55","modified_gmt":"2024-07-23T12:21:55","slug":"docker-cli-plugin","status":"publish","type":"glossary","link":"https:\/\/dockerpros.com\/fr\/wiki\/docker-cli-plugin\/","title":{"rendered":"Extension pour l'interface en ligne de commande Docker"},"content":{"rendered":"<h1>Unlocking the Power of Docker CLI Plugins<\/h1>\n<p>Docker CLI plugins are extensions that enhance the capabilities of the Docker command-line interface (CLI) by allowing users to <span class=\"glossaryai-tooltip glossary-term-674\"><span class=\"glossaryai-link\"><a href=\"https:\/\/dockerpros.com\/fr\/wiki\/add\/\" target=\"_blank\">add<\/a><\/span><span class=\"gai-content-hidden glossaryai-tooltip-content\"><span class=\"gai-tooltip-body\"><span class=\"glossaryai-tooltip-text\">The ADD instruction in Docker is a command used in Dockerfiles to copy files and directories from a host machine into a Docker image during the build process. It not only facilitates the transfer of local files but also provides additional functionality, such as automatically extracting compressed files and fetching remote files via HTTP or HTTPS.<span class=\"glossaryai-more-link\"> <a href=\"https:\/\/dockerpros.com\/fr\/wiki\/add\/\">More \u00bb<\/a><\/span><\/span><\/span><\/span><\/span> custom commands. This modular approach enables developers to tailor their Docker experience based on specific workflows, thereby boosting productivity and integration with various tools and services. In this article, we delve into the intricacies of Docker CLI plugins, their architecture, creation, management, and practical use cases that demonstrate their power and versatility.<\/p>\n<h2>Understanding the Docker CLI<\/h2>\n<p>Before diving into plugins, it\u2019s essential to grasp the Docker CLI&#8217;s role in <span class=\"glossaryai-tooltip glossary-term-650\"><span class=\"glossaryai-link\"><a href=\"https:\/\/dockerpros.com\/fr\/wiki\/container\/\" target=\"_blank\">container<\/a><\/span><span class=\"gai-content-hidden glossaryai-tooltip-content\"><span class=\"gai-tooltip-body\"><span class=\"glossaryai-tooltip-text\">Containers are lightweight, portable units that encapsulate software and its dependencies, enabling consistent execution across different environments. They leverage OS-level virtualization for efficiency.<span class=\"glossaryai-more-link\"> <a href=\"https:\/\/dockerpros.com\/fr\/wiki\/container\/\">More \u00bb<\/a><\/span><\/span><\/span><\/span><\/span> management. The Docker CLI serves as the primary interface for users to interact with the Docker <span class=\"glossaryai-tooltip glossary-term-667\"><span class=\"glossaryai-link\"><a href=\"https:\/\/dockerpros.com\/fr\/wiki\/daemon\/\" target=\"_blank\">daemon<\/a><\/span><span class=\"gai-content-hidden glossaryai-tooltip-content\"><span class=\"gai-tooltip-body\"><span class=\"glossaryai-tooltip-text\">A daemon is a background process in computing that runs autonomously, performing tasks without user intervention. It typically handles system or application-level functions, enhancing efficiency.<span class=\"glossaryai-more-link\"> <a href=\"https:\/\/dockerpros.com\/fr\/wiki\/daemon\/\">More \u00bb<\/a><\/span><\/span><\/span><\/span><\/span>, allowing them to manage containers, images, networks, and volumes through a series of commands. Each command can be accompanied by various options and parameters, making it a powerful tool for developers and system administrators.<\/p>\n<p>The Docker CLI operates on a client-server model, where the client communicates with the Docker <span class=\"glossaryai-tooltip glossary-term-667\"><span class=\"glossaryai-link\"><a href=\"https:\/\/dockerpros.com\/fr\/wiki\/daemon\/\" target=\"_blank\">daemon<\/a><\/span><span class=\"gai-content-hidden glossaryai-tooltip-content\"><span class=\"gai-tooltip-body\"><span class=\"glossaryai-tooltip-text\">A daemon is a background process in computing that runs autonomously, performing tasks without user intervention. It typically handles system or application-level functions, enhancing efficiency.<span class=\"glossaryai-more-link\"> <a href=\"https:\/\/dockerpros.com\/fr\/wiki\/daemon\/\">More \u00bb<\/a><\/span><\/span><\/span><\/span><\/span> via a REST <span class=\"glossaryai-tooltip glossary-term-1249\"><span class=\"glossaryai-link\"><a href=\"https:\/\/dockerpros.com\/fr\/wiki\/api\/\" target=\"_blank\">API<\/a><\/span><span class=\"gai-content-hidden glossaryai-tooltip-content\"><span class=\"gai-tooltip-body\"><span class=\"glossaryai-tooltip-text\">An API, or Application Programming Interface, enables software applications to communicate and interact with each other. It defines protocols and tools for building software and facilitating integration.<span class=\"glossaryai-more-link\"> <a href=\"https:\/\/dockerpros.com\/fr\/wiki\/api\/\">More \u00bb<\/a><\/span><\/span><\/span><\/span><\/span>. This architecture provides a robust framework for executing commands and managing containerized applications.<\/p>\n<h2>What Are Docker CLI Plugins?<\/h2>\n<p>Docker CLI plugins are executable binaries that extend the base functionality of the Docker CLI. By implementing a specific command-line interface, they create new commands that can be used just like native Docker commands.<\/p>\n<p>The primary features of Docker CLI plugins include:<\/p>\n<ul>\n<li><strong>Extensibility<\/strong>: Users can create custom commands tailored to their unique requirements, enhancing the Docker experience.<\/li>\n<li><strong>Modularity<\/strong>: Plugins can be developed independently, making it easy to share and maintain them.<\/li>\n<li><strong>Ease of Use<\/strong>: Once installed, plugins can be invoked just like standard Docker commands, ensuring a seamless integration.<\/li>\n<\/ul>\n<p>Plugins can be developed in various programming languages, as long as they adhere to the required specifications for command-line interfaces. This flexibility allows developers to leverage their preferred languages and frameworks.<\/p>\n<h2>The Architecture of Docker CLI Plugins<\/h2>\n<p>The architecture of Docker CLI plugins consists of several key components:<\/p>\n<ol>\n<li>\n<p><strong>Executable Binary<\/strong>: The plugin itself is an executable file that contains the logic for the new command. This binary must be placed in a specific directory for Docker to recognize it.<\/p>\n<\/li>\n<li>\n<p><strong>Naming Convention<\/strong>: The naming convention for plugins is crucial. Docker expects the plugin executable to have the prefix <code>docker-<\/code>, followed by the name of the plugin. For example, a plugin named <code>myplugin<\/code> should be named <code>docker-myplugin<\/code>.<\/p>\n<\/li>\n<li>\n<p><strong>Installation Directory<\/strong>: Docker CLI plugins are typically installed in the user\u2019s home directory under <code>~\/.docker\/cli-plugins<\/code>. Docker automatically scans this directory for available plugins when the CLI is invoked.<\/p>\n<\/li>\n<li>\n<p><strong>Standard Input\/Output<\/strong>: The plugin communicates with the Docker CLI via standard input and output. This means it can accept arguments and provide output in a format that the Docker CLI can understand.<\/p>\n<\/li>\n<li>\n<p><strong>Configuration Files<\/strong>: Some plugins may require configuration files that dictate their behavior. These files should be placed in predefined locations, as specified by the plugin&#8217;s documentation.<\/p>\n<\/li>\n<\/ol>\n<h2>Creating a Docker CLI Plugin<\/h2>\n<p>Creating a Docker CLI plugin involves several steps. Below, we\u2019ll guide you through the process of building a simple plugin.<\/p>\n<h3>Step 1: Set Up the Development Environment<\/h3>\n<p>To create a Docker CLI plugin, you need to have the following tools installed:<\/p>\n<ul>\n<li>Docker (latest version)<\/li>\n<li>Go programming language (for this example)<\/li>\n<li>A code editor of your choice<\/li>\n<\/ul>\n<h3>Step 2: Create a Basic Plugin Structure<\/h3>\n<p>Create a new directory for your plugin:<\/p>\n<pre><code class=\"language-bash\">mkdir myplugin\ncd myplugin<\/code><\/pre>\n<p>Next, create a Go module:<\/p>\n<pre><code class=\"language-bash\">go mod init myplugin<\/code><\/pre>\n<h3>Step 3: Write the Plugin Code<\/h3>\n<p>Create a new Go file named <code>main.go<\/code> and <span class=\"glossaryai-tooltip glossary-term-674\"><span class=\"glossaryai-link\"><a href=\"https:\/\/dockerpros.com\/fr\/wiki\/add\/\" target=\"_blank\">add<\/a><\/span><span class=\"gai-content-hidden glossaryai-tooltip-content\"><span class=\"gai-tooltip-body\"><span class=\"glossaryai-tooltip-text\">The ADD instruction in Docker is a command used in Dockerfiles to copy files and directories from a host machine into a Docker image during the build process. It not only facilitates the transfer of local files but also provides additional functionality, such as automatically extracting compressed files and fetching remote files via HTTP or HTTPS.<span class=\"glossaryai-more-link\"> <a href=\"https:\/\/dockerpros.com\/fr\/wiki\/add\/\">More \u00bb<\/a><\/span><\/span><\/span><\/span><\/span> the following code:<\/p>\n<pre><code class=\"language-go\">package main\n\nimport (\n    \"fmt\"\n    \"os\"\n)\n\nfunc main() {\n    if len(os.Args) &amp;lt; 2 {\n        fmt.Println(&amp;quot;Usage: docker-myplugin \")\n        os.Exit(1)\n    }\n\n    command := os.Args[1]\n\n    switch command {\n    case \"hello\":\n        fmt.Println(\"Hello from Docker CLI plugin!\")\n    default:\n        fmt.Printf(\"Unknown command: %sn\", command)\n        os.Exit(1)\n    }\n}<\/code><\/pre>\n<p>This basic plugin accepts a command and responds with a message. You can expand this functionality to perform more complex operations.<\/p>\n<h3>Step 4: Build the Plugin<\/h3>\n<p>To build the plugin, <span class=\"glossaryai-tooltip glossary-term-672\"><span class=\"glossaryai-link\"><a href=\"https:\/\/dockerpros.com\/fr\/wiki\/run\/\" target=\"_blank\">run<\/a><\/span><span class=\"gai-content-hidden glossaryai-tooltip-content\"><span class=\"gai-tooltip-body\"><span class=\"glossaryai-tooltip-text\">\"RUN\" refers to a command in various programming languages and operating systems to execute a specified program or script. It initiates processes, providing a controlled environment for task execution.<span class=\"glossaryai-more-link\"> <a href=\"https:\/\/dockerpros.com\/fr\/wiki\/run\/\">More \u00bb<\/a><\/span><\/span><\/span><\/span><\/span> the following command:<\/p>\n<pre><code class=\"language-bash\">go build -o docker-myplugin<\/code><\/pre>\n<p>This command generates an executable binary named <code>docker-myplugin<\/code>.<\/p>\n<h3>Step 5: Install the Plugin<\/h3>\n<p>Move the binary to the appropriate directory:<\/p>\n<pre><code class=\"language-bash\">mv docker-myplugin ~\/.docker\/cli-plugins\/<\/code><\/pre>\n<h3>Step 6: Test the Plugin<\/h3>\n<p>Now that the plugin is installed, you can test it by running:<\/p>\n<pre><code class=\"language-bash\">docker myplugin hello<\/code><\/pre>\n<p>You should see the output:<\/p>\n<pre><code>Hello from Docker CLI plugin!<\/code><\/pre>\n<p>Congratulations! You\u2019ve created a basic Docker CLI plugin.<\/p>\n<h2>Managing Docker CLI Plugins<\/h2>\n<h3>Installing Plugins<\/h3>\n<p>In addition to manually creating plugins, you can also install pre-built plugins from various sources. Most plugins can be found on GitHub or <span class=\"glossaryai-tooltip glossary-term-653\"><span class=\"glossaryai-link\"><a href=\"https:\/\/dockerpros.com\/fr\/wiki\/docker-hub\/\" target=\"_blank\">Docker Hub<\/a><\/span><span class=\"gai-content-hidden glossaryai-tooltip-content\"><span class=\"gai-tooltip-body\"><span class=\"glossaryai-tooltip-text\">Docker Hub is a cloud-based repository for storing and sharing container images. It facilitates version control, collaborative development, and seamless integration with Docker CLI for efficient container management.<span class=\"glossaryai-more-link\"> <a href=\"https:\/\/dockerpros.com\/fr\/wiki\/docker-hub\/\">More \u00bb<\/a><\/span><\/span><\/span><\/span><\/span>. To install a plugin, simply download the binary file and place it in the <code>~\/.docker\/cli-plugins<\/code> directory.<\/p>\n<h3>Updating Plugins<\/h3>\n<p>To update a plugin, replace the existing binary with the new version and ensure it retains the same name. There\u2019s no need to change any configurations or settings as long as the new version adheres to the same command structure.<\/p>\n<h3>Uninstalling Plugins<\/h3>\n<p>To uninstall a plugin, simply delete the corresponding binary from the <code>~\/.docker\/cli-plugins<\/code> directory:<\/p>\n<pre><code class=\"language-bash\">rm ~\/.docker\/cli-plugins\/docker-myplugin<\/code><\/pre>\n<h3>Listing Installed Plugins<\/h3>\n<p>You can list all installed plugins by inspecting the <code>~\/.docker\/cli-plugins<\/code> directory:<\/p>\n<pre><code class=\"language-bash\">ls ~\/.docker\/cli-plugins<\/code><\/pre>\n<p>Alternatively, you can <span class=\"glossaryai-tooltip glossary-term-672\"><span class=\"glossaryai-link\"><a href=\"https:\/\/dockerpros.com\/fr\/wiki\/run\/\" target=\"_blank\">run<\/a><\/span><span class=\"gai-content-hidden glossaryai-tooltip-content\"><span class=\"gai-tooltip-body\"><span class=\"glossaryai-tooltip-text\">\"RUN\" refers to a command in various programming languages and operating systems to execute a specified program or script. It initiates processes, providing a controlled environment for task execution.<span class=\"glossaryai-more-link\"> <a href=\"https:\/\/dockerpros.com\/fr\/wiki\/run\/\">More \u00bb<\/a><\/span><\/span><\/span><\/span><\/span>:<\/p>\n<pre><code class=\"language-bash\"><span class=\"glossaryai-tooltip glossary-term-702\"><span class=\"glossaryai-link\"><a href=\"https:\/\/dockerpros.com\/fr\/wiki\/docker-plugin\/\" target=\"_blank\">docker plugin<\/a><\/span><span class=\"gai-content-hidden glossaryai-tooltip-content\"><span class=\"gai-tooltip-body\"><span class=\"glossaryai-tooltip-text\">Docker plugins extend Docker's capabilities by enabling additional functionalities through a modular architecture. They allow integration with external services, enhancing container management and resource handling.<span class=\"glossaryai-more-link\"> <a href=\"https:\/\/dockerpros.com\/fr\/wiki\/docker-plugin\/\">More \u00bb<\/a><\/span><\/span><\/span><\/span><\/span> ls<\/code><\/pre>\n<p>This will display all installed plugins along with their details.<\/p>\n<h2>Best Practices for Docker CLI Plugins<\/h2>\n<p>Creating effective Docker CLI plugins requires adherence to several best practices:<\/p>\n<h3>1. Follow Naming Conventions<\/h3>\n<p>Ensure your plugin follows the naming convention <code>docker-<\/code>. This helps maintain consistency and avoids conflicts with other plugins.<\/p>\n<h3>2. Provide Clear Documentation<\/h3>\n<p>Every plugin should come with comprehensive documentation that outlines its commands, options, and usage examples. This reduces confusion and enhances user experience.<\/p>\n<h3>3. Handle Errors Gracefully<\/h3>\n<p>Ensure that your plugin properly handles errors and edge cases. Provide meaningful error messages that guide users in resolving issues.<\/p>\n<h3>4. Optimize Performance<\/h3>\n<p>As with any software, performance is critical. Aim to keep your plugin lightweight and responsive, minimizing latency in command execution.<\/p>\n<h3>5. Maintain Compatibility<\/h3>\n<p>If your plugin interacts with other tools or services, ensure compatibility with various versions and systems. Regularly update your plugin to address any breaking changes in the Docker <span class=\"glossaryai-tooltip glossary-term-1249\"><span class=\"glossaryai-link\"><a href=\"https:\/\/dockerpros.com\/fr\/wiki\/api\/\" target=\"_blank\">API<\/a><\/span><span class=\"gai-content-hidden glossaryai-tooltip-content\"><span class=\"gai-tooltip-body\"><span class=\"glossaryai-tooltip-text\">An API, or Application Programming Interface, enables software applications to communicate and interact with each other. It defines protocols and tools for building software and facilitating integration.<span class=\"glossaryai-more-link\"> <a href=\"https:\/\/dockerpros.com\/fr\/wiki\/api\/\">More \u00bb<\/a><\/span><\/span><\/span><\/span><\/span> or related tools.<\/p>\n<h2>Use Cases for Docker CLI Plugins<\/h2>\n<h3>1. Custom Image Management<\/h3>\n<p>A plugin could enhance <span class=\"glossaryai-tooltip glossary-term-651\"><span class=\"glossaryai-link\"><a href=\"https:\/\/dockerpros.com\/fr\/wiki\/image\/\" target=\"_blank\">image<\/a><\/span><span class=\"gai-content-hidden glossaryai-tooltip-content\"><span class=\"gai-tooltip-body\"><span class=\"glossaryai-tooltip-text\">An image is a visual representation of an object or scene, typically composed of pixels in digital formats. It can convey information, evoke emotions, and facilitate communication across various media.<span class=\"glossaryai-more-link\"> <a href=\"https:\/\/dockerpros.com\/fr\/wiki\/image\/\">More \u00bb<\/a><\/span><\/span><\/span><\/span><\/span> management capabilities, allowing users to tag, push, and pull images with additional metadata and custom workflows tailored to specific CI\/CD pipelines.<\/p>\n<h3>2. Enhanced Logging and Monitoring<\/h3>\n<p>Plugins can be created to integrate logging and monitoring solutions directly into the Docker CLI. By providing commands for real-time monitoring and log retrieval, developers can streamline their workflows.<\/p>\n<h3>3. Custom Networking Solutions<\/h3>\n<p>A plugin can facilitate advanced networking configurations by abstracting complex commands into simpler, user-friendly ones. This is particularly useful for organizations with specific networking requirements.<\/p>\n<h3>4. Improved Security Features<\/h3>\n<p>Security-focused plugins can provide commands to audit containers and images for vulnerabilities, ensuring that developers adhere to security best practices.<\/p>\n<h3>5. Integration with Cloud Providers<\/h3>\n<p>Plugins can simplify the deployment of containers to cloud providers by abstracting away the underlying complexities. Commands could be created to facilitate the seamless deployment of Docker containers to platforms like AWS, Azure, or Google Cloud.<\/p>\n<h2>Conclusion<\/h2>\n<p>Docker CLI plugins represent a powerful tool for enhancing the functionality and usability of the Docker command-line interface. By allowing users to create and manage custom commands, these plugins empower developers to tailor their Docker experience to meet specific needs. Whether it\u2019s improving <span class=\"glossaryai-tooltip glossary-term-651\"><span class=\"glossaryai-link\"><a href=\"https:\/\/dockerpros.com\/fr\/wiki\/image\/\" target=\"_blank\">image<\/a><\/span><span class=\"gai-content-hidden glossaryai-tooltip-content\"><span class=\"gai-tooltip-body\"><span class=\"glossaryai-tooltip-text\">An image is a visual representation of an object or scene, typically composed of pixels in digital formats. It can convey information, evoke emotions, and facilitate communication across various media.<span class=\"glossaryai-more-link\"> <a href=\"https:\/\/dockerpros.com\/fr\/wiki\/image\/\">More \u00bb<\/a><\/span><\/span><\/span><\/span><\/span> management, handling networking, or integrating with external tools, the possibilities are vast.<\/p>\n<p>As Docker continues to evolve, so too will the ecosystem of CLI plugins. By understanding their architecture, best practices, and potential use cases, developers can harness the full potential of Docker CLI plugins to optimize their workflows and elevate their <span class=\"glossaryai-tooltip glossary-term-650\"><span class=\"glossaryai-link\"><a href=\"https:\/\/dockerpros.com\/fr\/wiki\/container\/\" target=\"_blank\">container<\/a><\/span><span class=\"gai-content-hidden glossaryai-tooltip-content\"><span class=\"gai-tooltip-body\"><span class=\"glossaryai-tooltip-text\">Containers are lightweight, portable units that encapsulate software and its dependencies, enabling consistent execution across different environments. They leverage OS-level virtualization for efficiency.<span class=\"glossaryai-more-link\"> <a href=\"https:\/\/dockerpros.com\/fr\/wiki\/container\/\">More \u00bb<\/a><\/span><\/span><\/span><\/span><\/span> management experience. Whether you\u2019re a seasoned Docker user or just starting, exploring and creating plugins can open new doors to productivity and efficiency in your containerized applications. <\/p>\n<p>By embracing this modular approach, the Docker community can collectively enhance its capabilities, driving innovation and improving the overall developer experience. Happy coding!<\/p>","protected":false},"excerpt":{"rendered":"<p>Les plugins CLI Docker \u00e9tendent les fonctionnalit\u00e9s de l'interface de ligne de commande Docker, permettant aux utilisateurs d'int\u00e9grer des commandes et des fonctionnalit\u00e9s personnalis\u00e9es de mani\u00e8re transparente. Ils am\u00e9liorent l'automatisation et rationalisent les flux de travail au sein de <span class=\"glossaryai-tooltip glossary-term-650\"><span class=\"glossaryai-link\"><a href=\"https:\/\/dockerpros.com\/fr\/wiki\/container\/\" target=\"_blank\">conteneur<\/a><\/span><span class=\"gai-content-hidden glossaryai-tooltip-content\"><span class=\"gai-tooltip-body\"><span class=\"glossaryai-tooltip-text\">Containers are lightweight, portable units that encapsulate software and its dependencies, enabling consistent execution across different environments. They leverage OS-level virtualization for efficiency.<span class=\"glossaryai-more-link\"> <a href=\"https:\/\/dockerpros.com\/fr\/wiki\/container\/\">More \u00bb<\/a><\/span><\/span><\/span><\/span><\/span> management.<\/p>","protected":false},"author":1,"featured_media":1839,"parent":0,"template":"","glossary-cat":[],"class_list":["post-1261","glossary","type-glossary","status-publish","has-post-thumbnail","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Docker CLI Plugin - Dockerpros<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/dockerpros.com\/fr\/wiki\/docker-cli-plugin\/\" \/>\n<meta property=\"og:locale\" content=\"fr_FR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Docker CLI Plugin - Dockerpros\" \/>\n<meta property=\"og:description\" content=\"Docker CLI plugins extend the functionality of the Docker command-line interface, allowing users to integrate custom commands and features seamlessly. They enhance automation and streamline workflows within container management.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/dockerpros.com\/fr\/wiki\/docker-cli-plugin\/\" \/>\n<meta property=\"og:site_name\" content=\"Dockerpros\" \/>\n<meta property=\"article:modified_time\" content=\"2024-07-23T12:21:55+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/dockerpros.com\/wp-content\/uploads\/2024\/07\/docker-cli-plugin_1261.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"800\" \/>\n\t<meta property=\"og:image:height\" content=\"600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Dur\u00e9e de lecture estim\u00e9e\" \/>\n\t<meta name=\"twitter:data1\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/dockerpros.com\/wiki\/docker-cli-plugin\/\",\"url\":\"https:\/\/dockerpros.com\/wiki\/docker-cli-plugin\/\",\"name\":\"Docker CLI Plugin - Dockerpros\",\"isPartOf\":{\"@id\":\"https:\/\/dockerpros.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/dockerpros.com\/wiki\/docker-cli-plugin\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/dockerpros.com\/wiki\/docker-cli-plugin\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/dockerpros.com\/wp-content\/uploads\/2024\/07\/docker-cli-plugin_1261.jpg\",\"datePublished\":\"2024-07-23T12:16:54+00:00\",\"dateModified\":\"2024-07-23T12:21:55+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/dockerpros.com\/wiki\/docker-cli-plugin\/#breadcrumb\"},\"inLanguage\":\"fr-FR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/dockerpros.com\/wiki\/docker-cli-plugin\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\/\/dockerpros.com\/wiki\/docker-cli-plugin\/#primaryimage\",\"url\":\"https:\/\/dockerpros.com\/wp-content\/uploads\/2024\/07\/docker-cli-plugin_1261.jpg\",\"contentUrl\":\"https:\/\/dockerpros.com\/wp-content\/uploads\/2024\/07\/docker-cli-plugin_1261.jpg\",\"width\":800,\"height\":600,\"caption\":\"docker-cli-plugin-2\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/dockerpros.com\/wiki\/docker-cli-plugin\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/dockerpros.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Glossary\",\"item\":\"https:\/\/dockerpros.com\/fr\/wiki\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Docker CLI Plugin\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/dockerpros.com\/#website\",\"url\":\"https:\/\/dockerpros.com\/\",\"name\":\"Dockerpros\",\"description\":\"DockerPros \u2013 Your Ultimate Docker Resource Hub\",\"publisher\":{\"@id\":\"https:\/\/dockerpros.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/dockerpros.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fr-FR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/dockerpros.com\/#organization\",\"name\":\"Dockerpros\",\"url\":\"https:\/\/dockerpros.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\/\/dockerpros.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/dockerpros.com\/wp-content\/uploads\/2024\/07\/Dockerpros_logo_blanco.png\",\"contentUrl\":\"https:\/\/dockerpros.com\/wp-content\/uploads\/2024\/07\/Dockerpros_logo_blanco.png\",\"width\":532,\"height\":114,\"caption\":\"Dockerpros\"},\"image\":{\"@id\":\"https:\/\/dockerpros.com\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Plugin CLI Docker - Dockerpros","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/dockerpros.com\/fr\/wiki\/docker-cli-plugin\/","og_locale":"fr_FR","og_type":"article","og_title":"Docker CLI Plugin - Dockerpros","og_description":"Docker CLI plugins extend the functionality of the Docker command-line interface, allowing users to integrate custom commands and features seamlessly. They enhance automation and streamline workflows within container management.","og_url":"https:\/\/dockerpros.com\/fr\/wiki\/docker-cli-plugin\/","og_site_name":"Dockerpros","article_modified_time":"2024-07-23T12:21:55+00:00","og_image":[{"width":800,"height":600,"url":"https:\/\/dockerpros.com\/wp-content\/uploads\/2024\/07\/docker-cli-plugin_1261.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_misc":{"Dur\u00e9e de lecture estim\u00e9e":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/dockerpros.com\/wiki\/docker-cli-plugin\/","url":"https:\/\/dockerpros.com\/wiki\/docker-cli-plugin\/","name":"Plugin CLI Docker - Dockerpros","isPartOf":{"@id":"https:\/\/dockerpros.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/dockerpros.com\/wiki\/docker-cli-plugin\/#primaryimage"},"image":{"@id":"https:\/\/dockerpros.com\/wiki\/docker-cli-plugin\/#primaryimage"},"thumbnailUrl":"https:\/\/dockerpros.com\/wp-content\/uploads\/2024\/07\/docker-cli-plugin_1261.jpg","datePublished":"2024-07-23T12:16:54+00:00","dateModified":"2024-07-23T12:21:55+00:00","breadcrumb":{"@id":"https:\/\/dockerpros.com\/wiki\/docker-cli-plugin\/#breadcrumb"},"inLanguage":"fr-FR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/dockerpros.com\/wiki\/docker-cli-plugin\/"]}]},{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/dockerpros.com\/wiki\/docker-cli-plugin\/#primaryimage","url":"https:\/\/dockerpros.com\/wp-content\/uploads\/2024\/07\/docker-cli-plugin_1261.jpg","contentUrl":"https:\/\/dockerpros.com\/wp-content\/uploads\/2024\/07\/docker-cli-plugin_1261.jpg","width":800,"height":600,"caption":"docker-cli-plugin-2"},{"@type":"BreadcrumbList","@id":"https:\/\/dockerpros.com\/wiki\/docker-cli-plugin\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/dockerpros.com\/"},{"@type":"ListItem","position":2,"name":"Glossary","item":"https:\/\/dockerpros.com\/fr\/wiki\/"},{"@type":"ListItem","position":3,"name":"Docker CLI Plugin"}]},{"@type":"WebSite","@id":"https:\/\/dockerpros.com\/#website","url":"https:\/\/dockerpros.com\/","name":"Dockerpros","description":"DockerPros \u2013 Votre centre de ressources Docker incontournable","publisher":{"@id":"https:\/\/dockerpros.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/dockerpros.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fr-FR"},{"@type":"Organization","@id":"https:\/\/dockerpros.com\/#organization","name":"Dockerpros","url":"https:\/\/dockerpros.com\/","logo":{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/dockerpros.com\/#\/schema\/logo\/image\/","url":"https:\/\/dockerpros.com\/wp-content\/uploads\/2024\/07\/Dockerpros_logo_blanco.png","contentUrl":"https:\/\/dockerpros.com\/wp-content\/uploads\/2024\/07\/Dockerpros_logo_blanco.png","width":532,"height":114,"caption":"Dockerpros"},"image":{"@id":"https:\/\/dockerpros.com\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/dockerpros.com\/fr\/wp-json\/wp\/v2\/glossary\/1261","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dockerpros.com\/fr\/wp-json\/wp\/v2\/glossary"}],"about":[{"href":"https:\/\/dockerpros.com\/fr\/wp-json\/wp\/v2\/types\/glossary"}],"author":[{"embeddable":true,"href":"https:\/\/dockerpros.com\/fr\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":0,"href":"https:\/\/dockerpros.com\/fr\/wp-json\/wp\/v2\/glossary\/1261\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dockerpros.com\/fr\/wp-json\/wp\/v2\/media\/1839"}],"wp:attachment":[{"href":"https:\/\/dockerpros.com\/fr\/wp-json\/wp\/v2\/media?parent=1261"}],"wp:term":[{"taxonomy":"glossary-cat","embeddable":true,"href":"https:\/\/dockerpros.com\/fr\/wp-json\/wp\/v2\/glossary-cat?post=1261"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}