Code Monkey home page Code Monkey logo

extensions-sdk's Introduction

Docker Extensions

This repository includes the Extensions CLI and samples to create Docker Extensions.

โš ๏ธ Docker Extensions SDK is currently in Beta. Features and APIs are subject to change

Prerequisites

To get started with Docker Extensions you will need the latest version of Docker Desktop. The Docker extension CLI is bundled by default with Docker Desktop version 4.10.0 and higher.

Tutorials

Extensions SDK documentation

Documentation about the Extensions SDK and creating your own extensions can be found here.

Contributions are welcome to update/improve documentation content (see extensions SDK under desktop/extensions-sdk folder)

Docker Extension Model

Desktop Extensions are packaged and distributed as Docker images. Development of extensions can be done locally without the need to push the extension to Docker Hub. This is described in Extension Distribution.

The extension image must have some specific content as described in Extension Metadata.

Developing Docker Extensions

The Extensions CLI is an extension development tool that can be used to manage Docker extensions.

This repository contains multiple extensions, each one is defined in an individual directories at the root of the repository. These are Docker developed samples that are not meant to be final products.

To try one of them, navigate to the directory of the extension then use the CLI to build and install the extension on Docker Desktop.

The Quickstart guide describes how to get started developing your custom Docker Extension. It also covers how to open the Chrome Dev Tools and show the extension containers.

The extension UI has access to an extension API to invoke backend operations from the UI, e.g. listing running containers, images, etc. Furthermore, you can communicate with your extension backend service or invoke a binary on the host or in the VM.

UI Guidelines

We are currently in the process of developing our design system but in the meantime, here are some UI guidelines. Docker Desktop's UI is written in React and Material UI, and we strongly recommend adopting this combination in your extensions as well. This brings the benefit of using our Material UI Theme to easily replicate Docker Desktop's look & feel, and we'll continue to release libraries and utilities targeting this combination.

You can read more about our design guidelines here.

extensions-sdk's People

Contributors

gtardif avatar felipecruz91 avatar mel-manohar avatar rumpl avatar benja-m-1 avatar mark-dr avatar dentongentry avatar jeanlaurent avatar dentrax avatar chris-crone avatar aevesdocker avatar shy avatar mayakacz avatar silvin-lubecki avatar mat007 avatar oliviertassinari avatar thajeztah avatar leecalcote avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.