tomwillfixit / docker-extension

Code which can be used to build and deploy a simple docker extension

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Turn any script into a Docker Extension in about 3 minutes*

ko-fi

WARNING! Shells started by this plugin use an unsecured connection, have no password protection, and provide root access to your machine. Use at your own risk!

This code is heavily influenced by : https://github.com/thaJeztah/docker-shell/tree/shell_extension and more details can be found in this post.

Usage

Step 1 : If you have Docker Desktop 4.10.0 or newer installed then you already have the "docker extension" command available. We recommend upgrading Docker Desktop but if you need to stay on a pre 4.10.0 version then you can install the Docker Extension CLI. Instructions can be found here.

Step 2 : Build the extension image

make image

Step 3 : Install extension and verify

make install

image

If you want to make changes to the menu.sh script, docker-compose or ui components you can run the following command to quickly uninstall, rebuild and install updated extension :

make uninstall image install

Step 4 : Uninstall extension

make uninstall

About

Code which can be used to build and deploy a simple docker extension

License:GNU General Public License v3.0


Languages

Language:Shell 49.1%Language:Dockerfile 32.8%Language:Makefile 9.7%Language:HTML 8.4%