mirror of https://github.com/portainer/portainer
d9d1d6bfaa
* feat(extension): add a readme [EE-3085] * add prerequisites |
||
---|---|---|
.. | ||
Makefile | ||
README.md | ||
docker-compose.yml | ||
metadata.json | ||
portainer.svg |
README.md
Installing the Portainer extension
Prerequisites
Docker desktop with extension support
First you must install a version of docker desktop with extension support (4.8.0 or later)
Docker extension CLI plugin
Next you must install the CLI plugin to enable extension development. Please follow Docker’s official documentation as it will be the most up to date
Tip: make sure you have started Docker Desktop for the first time before installing the CLI extension to prevent errors.
Build from local changes
- Run
yarn
to install the project dependencies - Run
yarn dev:extension
to install the extension - Make your code changes
- Re-run
yarn dev:extension
to rebuild and re-install with your latest changes
Accessing the Portainer extension
Going to your Docker Desktop dashboard, you should see Portainer listed in the Extension menu on the left and can access Portainer directly by clicking it.
Improvements & suggestions
If you have an idea of how to improve this process or any of the code related to it, feel free to open an issue & pull request.