mirror of https://github.com/docker/docs.git
35 lines
1.2 KiB
Markdown
35 lines
1.2 KiB
Markdown
---
|
|
title: Share your extension
|
|
description: Docker extension distribution
|
|
keywords: Docker, extensions, share
|
|
---
|
|
|
|
## Share your extension with others
|
|
|
|
Once your extension image is accessible on Docker Hub, anyone with access to the image can install the extension.
|
|
|
|
People can install your extension by typing `docker extension install my/awesome-extension:latest` in to the terminal.
|
|
|
|
However, this option doesn't provide a preview of the extension before it's installed.
|
|
|
|
## Share with URL
|
|
|
|
Docker now allows you to share your extensions using a URL.
|
|
|
|
When people navigate to this URL, it opens Docker Desktop and displays a preview of your extension in the same way as an extension in the Marketplace. From the preview, users can then select **Install**.
|
|
|
|

|
|
|
|
To generate this link you can either:
|
|
|
|
- Run the following command:
|
|
|
|
```console
|
|
$ docker extension share my/awesome-extension:0.0.1
|
|
```
|
|
|
|
- Once you have installed your extension locally, navigate to the **Manage** tab and select **Share**.
|
|
|
|

|
|
|
|
Previews of the extension description or screenshots, for example, are created using [extension labels](labels.md). |