The build and publish process
This documentation is structured so that it matches the steps you need to take when creating your extension.
There are two main parts to creating a Docker Extension:
- Build the foundations
- Publish the extension
The build process consists of:
- Installing the latest version of Docker Desktop.
- Setting up the directory with files, including the extension’s source code and the required extension-specific files.
- Creating the
Dockerfileto build, publish, and run your extension in Docker Desktop.
- Configuring the metadata file which is required at the root of the image filesystem.
- Building and installing the extension.
For further inspiration, see the other examples in the samples folderopen_in_new.
Docker Desktop displays published extensions in the Extensions Marketplace. The Extensions Marketplace is a curated space where developers can discover extensions to improve their developer experience and upload their own extension to share with the world.
If you want your extension published in the Marketplace, read the publish documentation.
Already built an extension?
Let us know about your experience using the feedback formopen_in_new.
If you want to get up and running with creating a Docker Extension, see the Quickstart guide.
Alternatively, get started with reading the "Part one: Build" section for more in-depth information about each step of the extension creation process.
For an in-depth tutorial of the entire build process, we recommend the following video walkthrough from DockerCon 2022.